Skip to content

Commit

Permalink
test: remove duplicated test on jshandle.spec.ts (puppeteer#7606)
Browse files Browse the repository at this point in the history
`should work with primitives` is a duple of `should use the same JS wrappers`
  • Loading branch information
kblok committed Sep 28, 2021
1 parent 113489d commit 7069cfe
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/jshandle.spec.ts
Expand Up @@ -74,17 +74,6 @@ describe('JSHandle', function () {
it('should use the same JS wrappers', async () => {
const { page } = getTestState();

const aHandle = await page.evaluateHandle(() => {
globalThis.FOO = 123;
return window;
});
expect(await page.evaluate((e: { FOO: number }) => e.FOO, aHandle)).toBe(
123
);
});
it('should work with primitives', async () => {
const { page } = getTestState();

const aHandle = await page.evaluateHandle(() => {
globalThis.FOO = 123;
return window;
Expand Down

0 comments on commit 7069cfe

Please sign in to comment.