Skip to content

Commit

Permalink
test(firefox): disable BigInt tests for Firefox (puppeteer#4849)
Browse files Browse the repository at this point in the history
Juggler doesn't yet support BigInt transferring.
  • Loading branch information
aslushnikov authored and Roman Fojtik committed Dec 21, 2019
1 parent ce499ef commit 33a64f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/evaluation.spec.js
Expand Up @@ -35,7 +35,7 @@ module.exports.addTests = function({testRunner, expect}) {
const result = await page.evaluate(() => 7 * 3);
expect(result).toBe(21);
});
(bigint ? it : xit)('should transfer BigInt', async({page, server}) => {
(bigint ? it_fails_ffox : xit)('should transfer BigInt', async({page, server}) => {
const result = await page.evaluate(a => a, BigInt(42));
expect(result).toBe(BigInt(42));
});
Expand Down Expand Up @@ -143,7 +143,7 @@ module.exports.addTests = function({testRunner, expect}) {
expect(result).not.toBe(object);
expect(result).toEqual(object);
});
(bigint ? it : xit)('should return BigInt', async({page, server}) => {
(bigint ? it_fails_ffox : xit)('should return BigInt', async({page, server}) => {
const result = await page.evaluate(() => BigInt(42));
expect(result).toBe(BigInt(42));
});
Expand Down

0 comments on commit 33a64f7

Please sign in to comment.