Skip to content

Commit

Permalink
chore: ts-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
odex21 committed Mar 5, 2021
1 parent 8d0e1d6 commit b032b3c
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 778 deletions.
6 changes: 0 additions & 6 deletions babel.config.js

This file was deleted.

1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

export default {
preset: 'ts-jest',
// All imported modules in your tests should be mocked automatically
// automock: false,

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"test": "jest --runInBand"
},
"devDependencies": {
"@babel/preset-env": "^7.13.9",
"@babel/preset-typescript": "^7.13.0",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
Expand All @@ -22,6 +20,7 @@
"rollup": "^2.40.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
}
Expand Down
1 change: 0 additions & 1 deletion test/of.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ describe('Queue.of', () => {

const tasks = expected.map((e) => () => {
result.push(e)
console.log('e', e)
return Promise.resolve()
})

Expand Down
Loading

0 comments on commit b032b3c

Please sign in to comment.