Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jan 20, 2025
1 parent a52e049 commit 68f7274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/fake-timers/do-not-fake/__tests__/doNotFake.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ globalThis.performance.mark = mockPerformanceMark;
test('fakes all APIs', () => {
jest.useFakeTimers();

expect(globalThis.performance.mark).toBeUndefined();
expect(globalThis.performance.mark).not.toBe(mockPerformanceMark);
});

test('does not fake `performance` instance', () => {
Expand Down

0 comments on commit 68f7274

Please sign in to comment.