Skip to content

Commit

Permalink
chore: update dependencies & remove babel from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarringdal committed Jul 4, 2020
1 parent 9ff6208 commit 30b65da
Show file tree
Hide file tree
Showing 6 changed files with 3,906 additions and 3,646 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'prettier/prettier': [
'error',
{
endOfLine: 'auto'
}
]
}
};
};
10 changes: 0 additions & 10 deletions babel.config.js

This file was deleted.

16 changes: 12 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testEnvironment: 'jest-environment-jsdom-sixteen',
maxConcurrency: 1,
verbose: true,
moduleDirectories: ['node_modules'],
transform: {
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/babel-jest'
}
moduleNameMapper: {
'custom-elements-hmr-polyfill': '<rootDir>/src/package/index.ts'
},
globals: {
'ts-jest': {
diagnostics: false,
tsConfig: './tsconfig.json'
}
},
collectCoverageFrom: ['src/custom-elements-hmr-polyfill/package/**/*.ts']
};
Loading

0 comments on commit 30b65da

Please sign in to comment.