Skip to content

Commit 5fee93a

Browse files
authored
test: fix expect in jshandle spec (#927)
1 parent 7802354 commit 5fee93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jshandle.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ module.exports.describe = function({testRunner, expect, CHROMIUM, FFOX, WEBKIT})
160160
const aHandle = await page.evaluateHandle(() => document.querySelector('div').firstChild);
161161
const element = aHandle.asElement();
162162
expect(element).toBeTruthy();
163-
expect(await page.evaluate(e => e.nodeType === HTMLElement.TEXT_NODE, element));
163+
expect(await page.evaluate(e => e.nodeType === HTMLElement.TEXT_NODE, element)).toBeTruthy();
164164
});
165165
it('should work with nullified Node', async({page, server}) => {
166166
await page.setContent('<section>test</section>');

0 commit comments

Comments
 (0)