diff --git a/cli/package.json b/cli/package.json index 877fde82d5e4..5198dc161ce7 100644 --- a/cli/package.json +++ b/cli/package.json @@ -25,7 +25,7 @@ "@cypress/xvfb": "1.2.4", "@types/sinonjs__fake-timers": "6.0.1", "@types/sizzle": "2.3.2", - "arch": "2.1.1", + "arch": "2.1.2", "bluebird": "3.7.2", "cachedir": "2.3.0", "chalk": "2.4.2", diff --git a/packages/driver/cypress/integration/e2e/focus_blur_spec.js b/packages/driver/cypress/integration/e2e/focus_blur_spec.js index 79d32d90768d..fa94533f9f1a 100644 --- a/packages/driver/cypress/integration/e2e/focus_blur_spec.js +++ b/packages/driver/cypress/integration/e2e/focus_blur_spec.js @@ -1,4 +1,3 @@ -/// /* eslint arrow-body-style:'off' */ /** diff --git a/packages/driver/index.d.ts b/packages/driver/index.d.ts index 5557a6c2ad35..b814a4d928e4 100644 --- a/packages/driver/index.d.ts +++ b/packages/driver/index.d.ts @@ -1,4 +1,4 @@ -/// +/// /// export const $Cypress: Cypress.Cypress diff --git a/packages/driver/src/config/lodash.d.ts b/packages/driver/src/config/lodash.d.ts deleted file mode 100644 index 636b03e4e7b3..000000000000 --- a/packages/driver/src/config/lodash.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -// const _ = require('lodash') -import _ from 'lodash' - -import clean from 'underscore.string/clean' -import count from 'underscore.string/count' -import isBlank from 'underscore.string/isBlank' -import toBoolean from 'underscore.string/toBoolean' - -// only export exactly what we need, nothing more! -_.mixin({ - clean, - count, - isBlank, - toBoolean, -}) - -declare module 'lodash' { - export interface LoDashExplicitWrapper { - clean(...args): LoDashExplicitWrapper - count(...args): LoDashExplicitWrapper - isBlank(...args): LoDashExplicitWrapper - toBoolean(...args): LoDashExplicitWrapper - } - - export interface LodashStatic { - clean(...args): LoDashExplicitWrapper - count(...args): LoDashExplicitWrapper - isBlank(...args): LoDashExplicitWrapper - toBoolean(...args): LoDashExplicitWrapper - } -} - -export default _ diff --git a/packages/driver/tsconfig.json b/packages/driver/tsconfig.json index 9255340ab9d0..c7029cdbbe91 100644 --- a/packages/driver/tsconfig.json +++ b/packages/driver/tsconfig.json @@ -18,6 +18,10 @@ "allowSyntheticDefaultImports": true, "outDir": "dist", "esModuleInterop": true, - "noErrorTruncation": true - } + "noErrorTruncation": true, + "types": [] + }, + "exclude": [ + "dist" + ] } diff --git a/packages/driver/ts/internal-types.d.ts b/packages/driver/types/internal-types.d.ts similarity index 100% rename from packages/driver/ts/internal-types.d.ts rename to packages/driver/types/internal-types.d.ts diff --git a/packages/runner/jsconfig.json b/packages/runner/jsconfig.json deleted file mode 100644 index 504cd646e149..000000000000 --- a/packages/runner/jsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "compilerOptions": { - "experimentalDecorators": true - } -} diff --git a/packages/runner/tsconfig.json b/packages/runner/tsconfig.json index 0cee70cbaa64..0a551ff94e62 100644 --- a/packages/runner/tsconfig.json +++ b/packages/runner/tsconfig.json @@ -46,7 +46,7 @@ // "baseUrl": "../", /* Base directory to resolve non-absolute module names. */ // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ // "rootDirs": ["../driver/src"], /* List of root folders whose combined content represents the structure of the project at runtime. */ - // "types": [], /* Type declaration files to be included in compilation. */ + "types": [], /* Type declaration files to be included in compilation. */ "allowSyntheticDefaultImports": true, "esModuleInterop": true, "noErrorTruncation": true, @@ -54,6 +54,7 @@ // "noResolve": true }, "exclude": [ - "dist" + "dist", + "test" ] } diff --git a/packages/server/test/e2e/8_error_ui_spec.ts b/packages/server/test/e2e/8_error_ui_spec.ts index 37ba21a227ca..43ac85af8da3 100644 --- a/packages/server/test/e2e/8_error_ui_spec.ts +++ b/packages/server/test/e2e/8_error_ui_spec.ts @@ -34,7 +34,7 @@ describe('e2e error ui', function () { e2e.it('displays correct UI for errors', { spec: 'various_failures_spec.js', expectedExitCode: VARIOUS_FAILURES_EXPECTED_FAILURES, - timeout: 180000, // 3 minutes + timeout: 240000, // 4 minutes noTypeScript: true, onRun (exec) { return exec().then(verifyPassedAndFailedAreSame(VARIOUS_FAILURES_EXPECTED_FAILURES)) @@ -44,7 +44,7 @@ describe('e2e error ui', function () { e2e.it('displays correct UI for errors in custom commands', { spec: 'various_failures_custom_commands_spec.js', expectedExitCode: VARIOUS_FAILURES_EXPECTED_FAILURES, - timeout: 180000, // 3 minutes + timeout: 240000, // 4 minutes noTypeScript: true, onRun (exec) { return exec().then(verifyPassedAndFailedAreSame(VARIOUS_FAILURES_EXPECTED_FAILURES)) diff --git a/yarn.lock b/yarn.lock index 5e2531bb6f84..d0aff8028a23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5093,12 +5093,7 @@ aproba@^2.0.0: resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -arch@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.1.tgz#8f5c2731aa35a30929221bb0640eed65175ec84e" - integrity sha512-BLM56aPo9vLLFVa8+/+pJLnrZ7QGGTVHWsCwieAWT9o9K8UeGaQbzZbGoabWLOo2ksBCztoXdqBZBplqLDDCSg== - -arch@^2.1.0: +arch@2.1.2, arch@^2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.2.tgz#0c52bbe7344bb4fa260c443d2cbad9c00ff2f0bf" integrity sha512-NTBIIbAfkJeIletyABbVtdPgeKfDafR+1mZV/AyyfC1UkVkp9iUjV+wwmqtUgphHYajbI86jejBJp5e+jkGTiQ==