Skip to content

Commit

Permalink
Tests edited to fit ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-karatsiuba authored and kelson42 committed Jan 15, 2023
1 parent b9d86a4 commit 7a0e008
Show file tree
Hide file tree
Showing 31 changed files with 4,561 additions and 6,905 deletions.
18 changes: 18 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
moduleFileExtensions: ["ts", "js"],
collectCoverage: false,
verbose: true,
transform: {
'^.+\\.ts?$': [
'ts-jest',
{
useESM: true,
},
],
},
}

18 changes: 0 additions & 18 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 7a0e008

Please sign in to comment.