mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-23 15:39:05 -06:00
* Initial async changes * Small fixes and test updates. * updating tests * Fixes for cookie login tests * remove the onlys * Most tests passing * Fix driver tests? * fix firefox test? * fix unit tests * fix tests?? * a better check * fix integration tests * minor cleanup * Comment out tyler fix for 10.0 origin issue * also fix integration tests * remove fixmes * Adding Retries for cookie actions. May break other error tests. * Address (some) PR comments * update to warn about cross origin command AUT in assertions * Fix type errors * Move document.cookie patch to injection * Adding iframe patching. * forward errors prior to attaching * Add error message when using visit to visit a cross origin site with the onLoad or onBeforeLoad options. * Attempt to fix test errors. * more fixes, but not all * use the origin policy * Fix types * more fixes * consider chromeWebSecurity when checking if you can communicate with the AUT * firefox * prevent hangs if before unload happens after on load. * Fix some ToDos * code cleanup * remove quotes * Code review changes * more cr changes * fix tests possibly * for realz this time * roll back change * Fix some flake * Fix flakey xhr test hopefully. * oops, forgot communicator changes. need those. * modify error message to not lose the original error * read config right derp * simpler check * no unused vars * don't put config on window * Make isRunnerAbleToCommunicateWithTheAUT a util function instead of attaching it to cypress. * fix a race condition maybe * clear document when window is cross origin... we'll see if this breaks anything. * Retry if querying against the wrong AUT * use timeout * Don't print the retrying string unless you're retrying due to command aut origin mismatch * try handling undefined document * Code review updates. What could go wrong?? * Apply suggestions from code review Co-authored-by: Bill Glesias <bglesias@gmail.com> * minor fixes * try aut location and move the async state collection. * fix flake around the loading message, probably * Fix system tests and some flake around redirect counts. * Improve error handler prior to attaching. * Code review suggestions * use a generated ID when promisifying post message * clean up promise helper * skip xhr test until issue is resolved. * Apply suggestions from code review Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> * use state directly * Apply suggestions from code review Co-authored-by: Bill Glesias <bglesias@gmail.com> * Update packages/driver/src/cypress/error_messages.ts Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> Co-authored-by: Bill Glesias <bglesias@gmail.com> Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
63 lines
2.8 KiB
JSON
63 lines
2.8 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"target": "es2015",
|
|
"module": "commonjs",
|
|
/*
|
|
* Allow javascript files to be compiled.
|
|
* Override this in modules that need JS
|
|
*/
|
|
"allowJs": true,
|
|
"jsx": "react",
|
|
"outDir": "dist",
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": false,
|
|
"preserveWatchOutput": true,
|
|
// "checkJs": true, /* Report errors in .js files. */
|
|
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
|
/* Generates corresponding '.d.ts' file. */
|
|
// "declaration": true,
|
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
/* Generates corresponding '.map' file. */
|
|
"sourceMap": true,
|
|
/* Import emit helpers from 'tslib'. */
|
|
"importHelpers": true,
|
|
"strictNullChecks": true,
|
|
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
|
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
|
/* Strict Type-Checking Options */
|
|
// "traceResolution": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
/**
|
|
* Skip type checking of all declaration files (*.d.ts).
|
|
* TODO: Look into changing this in the future
|
|
*/
|
|
/* Additional Checks */
|
|
/* Report errors on unused locals. */
|
|
// "noEmit": true,
|
|
"noUnusedLocals": false,
|
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
/* Report error when not all code paths in function return a value. */
|
|
"noImplicitReturns": true,
|
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
/* Module Resolution Options */
|
|
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
// "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. */
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"noErrorTruncation": true,
|
|
"experimentalDecorators": true,
|
|
// "noResolve": true
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": [
|
|
"dist",
|
|
"test"
|
|
]
|
|
}
|