Skip to content

Commit

Permalink
Call jest directly instead of 'tsdx test' // #1
Browse files Browse the repository at this point in the history
  • Loading branch information
lourot committed Aug 20, 2023
1 parent 2d3c4cb commit 6e1e417
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
// See https://stackoverflow.com/questions/63005011/support-for-the-experimental-syntax-jsx-isnt-currently-enabled
"@babel/preset-env",
"@babel/preset-react",

// See https://jestjs.io/docs/getting-started#using-typescript
"@babel/preset-typescript"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests --no-cache --config jest.config.json",
"test": "jest",
"lint": "eslint . --ignore-pattern dist && prettier --check .",
"format": "eslint . --ignore-pattern dist --fix && prettier --write .",
"prepare": "husky install && tsdx build",
Expand Down

0 comments on commit 6e1e417

Please sign in to comment.