Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Pavel Feldman58fd7c5c45b8
diff --git a/test/evaluation.spec.js b/test/evaluation.spec.js
index 753faf29c8..7252bf1b89 100644
--- a/test/evaluation.spec.js
+++ b/test/evaluation.spec.js
@@ -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);