test: remove BigInt tests, no one uses BigInt yet (#224)

This commit is contained in:
Pavel Feldman 2019-12-12 09:38:34 -08:00 committed by Yury Semikhatsky
parent 59b0900321
commit 58fd7c5c45

View File

@ -29,10 +29,6 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
const result = await page.evaluate(() => 7 * 3);
expect(result).toBe(21);
});
(bigint ? it.skip(FFOX || WEBKIT) : xit)('should transfer BigInt', async({page, server}) => {
const result = await page.evaluate(a => a, BigInt(42));
expect(result).toBe(BigInt(42));
});
it('should transfer NaN', async({page, server}) => {
const result = await page.evaluate(a => a, NaN);
expect(Object.is(result, NaN)).toBe(true);
@ -135,10 +131,6 @@ module.exports.addTests = function({testRunner, expect, FFOX, CHROME, WEBKIT}) {
expect(result).not.toBe(object);
expect(result).toEqual(object);
});
(bigint ? it.skip(FFOX || WEBKIT) : xit)('should return BigInt', async({page, server}) => {
const result = await page.evaluate(() => BigInt(42));
expect(result).toBe(BigInt(42));
});
it('should return NaN', async({page, server}) => {
const result = await page.evaluate(() => NaN);
expect(Object.is(result, NaN)).toBe(true);