Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix: remove unnecessary console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 20, 2021
1 parent 531ea31 commit 8b392e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/demo/peeky.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export default defineConfig({
// external: [],
// runtimeEnv: MyEnv,
// mockFs: false,
reporters: ['console-json'],
// reporters: ['console-json'],
})
4 changes: 1 addition & 3 deletions packages/peeky-cli/src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export async function run (quickFilter: string, options) {
})

if (errorSuiteCount) {
const e = new Error('Some tests failed')
e.stack = e.message
throw e
process.exit(1)
}
} catch (e) {
consola.error(e)
Expand Down

0 comments on commit 8b392e4

Please sign in to comment.