From 7069cfedda8cbb3e19a42453ca018ddd41dfccfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Tue, 28 Sep 2021 06:26:42 -0300 Subject: [PATCH] test: remove duplicated test on jshandle.spec.ts (#7606) `should work with primitives` is a duple of `should use the same JS wrappers` --- test/jshandle.spec.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/jshandle.spec.ts b/test/jshandle.spec.ts index 4f64d738ae1..ccd9e7090d0 100644 --- a/test/jshandle.spec.ts +++ b/test/jshandle.spec.ts @@ -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;