Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos committed Oct 7, 2024
1 parent 5a48e2c commit 39e536e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/facade/sdkFacade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ describe('A SDK facade', () => {
expect(context.setToken).not.toHaveBeenCalled();
});

it('should allow anonymizing a user', () => {
it('should allow anonymizing a user passing a null user ID', () => {
const context = createContextMock();

jest.spyOn(context, 'getToken')
Expand Down Expand Up @@ -587,6 +587,7 @@ describe('A SDK facade', () => {
jest.spyOn(context, 'getToken')
.mockImplementation()
.mockImplementation(() => token);

jest.spyOn(context, 'setToken')
.mockImplementation()
.mockImplementation(newToken => {
Expand Down

0 comments on commit 39e536e

Please sign in to comment.