Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass default set options to remove #396 #397

Closed

Conversation

derekbassett
Copy link
Contributor

This is provided as a potential implementation to resolve #396

Copy link
Collaborator

@eXon eXon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! There is two small nitpick and we can release a fix with this.

@@ -108,6 +109,12 @@ describe('Cookies', () => {
cookies.remove('testingCookie');
expect(cookies.get('testingCookie')).toBeFalsy();
});
it('default options are used', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a missing whitespace before this line.

@@ -1,5 +1,6 @@
import Cookies from '../Cookies';
import { cleanCookies } from '../utils';
import * as cookie from "cookie";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use single quote and put global import at the top.

@eXon
Copy link
Collaborator

eXon commented Dec 30, 2023

Nitpick fixed on #428

@eXon eXon closed this Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When calling Universal Cookie.remove the default set options do not work
2 participants