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 Aug 15, 2019
1 parent f595bc0 commit 01b8880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/evaluation.spec.js
Original file line number Diff line number Diff line change
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 01b8880

Please sign in to comment.