From 2c04c103f5984e08fe8d04d464990d1db91f7c0e Mon Sep 17 00:00:00 2001 From: Elliott Marquez <5981958+e111077@users.noreply.github.com> Date: Mon, 20 May 2024 09:29:53 -0700 Subject: [PATCH] bump TS to version 5.4 (#404) * bump TS to version 5.4 allows for css import attributes * pin to 5.4 * up the test timeout time * bump test timeout time --- package-lock.json | 8 ++++---- package.json | 2 +- playwright.config.ts | 2 +- web-test-runner.config.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f41ae4f..9ce2d0ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,7 @@ "rollup-plugin-copy": "^3.3.0", "rollup-plugin-lit-css": "^4.0.0", "semver": "^7.3.5", - "typescript": "~5.2.2", + "typescript": "~5.4.5", "wireit": "^0.14.0" } }, @@ -8461,9 +8461,9 @@ } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index a7400b84..dbe92f4d 100755 --- a/package.json +++ b/package.json @@ -294,7 +294,7 @@ "rollup-plugin-copy": "^3.3.0", "rollup-plugin-lit-css": "^4.0.0", "semver": "^7.3.5", - "typescript": "~5.2.2", + "typescript": "~5.4.5", "wireit": "^0.14.0" }, "dependencies": { diff --git a/playwright.config.ts b/playwright.config.ts index a3c37170..4fa396c3 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -17,7 +17,7 @@ const config = { workers: 1, // Defaults to 30 seconds. We shouldn't need that much time, and it's better // to fail fast and retry. - timeout: 5000, + timeout: 10000, projects: [ { name: 'chromium', diff --git a/web-test-runner.config.js b/web-test-runner.config.js index 5ebeb5d2..65a1e0aa 100644 --- a/web-test-runner.config.js +++ b/web-test-runner.config.js @@ -50,7 +50,7 @@ export default { concurrentBrowsers: Number(process.env.CONCURRENT_BROWSERS) || 2, // default 2 browserStartTimeout: 30000, // default 30000 testsStartTimeout: 20000, // default 10000 - testsFinishTimeout: 90000, // default 20000 + testsFinishTimeout: 120000, // default 20000 testFramework: { // https://mochajs.org/api/mocha config: {