mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-20 16:58:47 +03:00
test: remove BigInt tests, no one uses BigInt yet (#224)
This commit is contained in:
parent
59b0900321
commit
58fd7c5c45
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user