mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-07 23:40:21 -05:00
31ee30b6f3
* chore: rename snapshots and spec files to fit vitest convention (#32405) * chore: move compiled files to dist directory to make vitest convertion easier (#32406) * chore: convert utils to vitest (#32407) * chore: convert logger to vitest * chore: convert errors spec to vitest * chore: convert cypress spec to vitest * chore: convert `exec` directory to `vitest` (#32428) * chore: cut over exec directory to vitest * Update cli/test/lib/exec/run.spec.ts * Update cli/test/lib/exec/run.spec.ts * Update cli/test/lib/exec/run.spec.ts * chore: convert the CLI and build script specs over to vitest (#32438) * chore: convert tasks directory to vitest (#32434) change way verify module is exported due to issues interpreting module (thinks its an esm) rework scripts as we cannot run an empty mocha suite chore: fix snapshots and verify requires that are internal to the cypress project fix stubbing issues with fs-extra which is also used by request-progress under the hood fix issues where xvfb was stopping prematurely * chore: remove files no longer used now that mocha tests are converted to vitest (#32455) * build binaries * chore: fix CLI tests (#32484) * chore: remove CI branch
44 lines
982 B
Plaintext
44 lines
982 B
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`util > .normalizeModuleOptions > converts config object 1`] = `
|
|
{
|
|
"config": "{"baseUrl":"http://localhost:2000","watchForFileChanges":false}",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > converts environment object 1`] = `
|
|
{
|
|
"env": "{"foo":"bar","magicNumber":1234,"host":"kevin.dev.local"}",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > converts reporterOptions object 1`] = `
|
|
{
|
|
"reporterOptions": "{"mochaFile":"results/my-test-output.xml","toConsole":true}",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > converts specs array 1`] = `
|
|
{
|
|
"spec": "["a","b","c"]",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > does not change other properties 1`] = `
|
|
{
|
|
"foo": "bar",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > does not convert spec when string 1`] = `
|
|
{
|
|
"spec": "x,y,z",
|
|
}
|
|
`;
|
|
|
|
exports[`util > .normalizeModuleOptions > passes string env unchanged 1`] = `
|
|
{
|
|
"env": "foo=bar",
|
|
}
|
|
`;
|