Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
support typescript in jest files (#3132)
Joel Einbinder0a57c2b39ed2
diff --git a/.eslintignore b/.eslintignoreindex 85e425de62..306cd2f570 100644--- a/.eslintignore+++ b/.eslintignore@@ -13,3 +13,4 @@ src/webkit/protocol.ts/index.d.tsutils/generate_types/overrides.d.tsutils/generate_types/test/test.ts+test/diff --git a/jest.config.js b/jest.config.jsindex 0c51d446aa..03ab34ab5e 100644--- a/jest.config.js+++ b/jest.config.js@@ -8,6 +8,18 @@ module.exports = /** @type {import('@jest/types').Config.InitialOptions} */ ({testTimeout: 10000,globalSetup: './jest/setup.js',globalTeardown: './jest/teardown.js',+ transform: {+ '^.+\\.ts$': ['babel-jest', {+ presets: [+ ['@babel/preset-env', {+ targets: {+ node: 'current'+ }+ }],+ ['@babel/preset-typescript']+ ],+ }],+ },reporters: ['default','./jest/reporter'