test(firefox): disable BigInt tests for Firefox (#4849)

Juggler doesn't yet support BigInt transferring.
This commit is contained in:
Andrey Lushnikov 2019-08-14 17:49:42 -07:00 committed by GitHub
parent f595bc0b67
commit 01b888049e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
});
@ -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));
});