Skip to content

Commit

Permalink
fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtimid committed Sep 26, 2024
1 parent ea6d819 commit baef907
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/snaps-utils/src/iframe.test.browser.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { spy } from '@metamask/snaps-utils/test-utils';

import { createWindow } from './iframe';
import { spy } from './test-utils';

const IFRAME_URL = `http://localhost:4569`;

Expand Down Expand Up @@ -76,6 +75,8 @@ describe('createWindow', () => {
`iframe.contentWindow not present on load for job "${MOCK_JOB_ID}".`,
);

expect(createElementSpy.calls.length).toBe(1);

createElementSpy.reset();
});
});

0 comments on commit baef907

Please sign in to comment.