Skip to content

Commit

Permalink
update cypress cfg, fs.rmdir -> fs.rm
Browse files Browse the repository at this point in the history
  • Loading branch information
LankyMoose committed May 6, 2023
1 parent 4e021ae commit 258cad5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("root and package.json", () => {
const tempDir = ".tmp-test"

afterEach(() => {
fs.rmdirSync(tempDir, { recursive: true })
fs.rmSync(tempDir, { recursive: true })
})

beforeEach(() => {
Expand Down Expand Up @@ -71,7 +71,7 @@ describe("enviroment variables", () => {
const tempDir = ".tmp-test"

afterEach(() => {
fs.rmdirSync(tempDir, { recursive: true })
fs.rmSync(tempDir, { recursive: true })
})

beforeEach(() => {
Expand Down
2 changes: 2 additions & 0 deletions packages/lib/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ export default defineConfig({
// implement node event listeners here
},
},
video: false,
screenshotOnRunFailure: false,
})

0 comments on commit 258cad5

Please sign in to comment.