We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f481922 commit 7855519Copy full SHA for 7855519
test/jshandle.spec.ts
@@ -195,18 +195,6 @@ describe('JSHandle', function () {
195
await page.evaluate((e) => e.nodeType === Node.TEXT_NODE, element)
196
);
197
});
198
- it('should work with nullified Node', async () => {
199
- const { page } = getTestState();
200
-
201
- await page.setContent('<section>test</section>');
202
- // TODO (@jackfranklin): this line doesn't do anything. What was intended here?
203
- // await page.evaluate(() => delete Node);
204
- const handle = await page.evaluateHandle(() =>
205
- document.querySelector('section')
206
- );
207
- const element = handle.asElement();
208
- expect(element).not.toBe(null);
209
- });
210
211
212
describe('JSHandle.toString', function () {
0 commit comments