mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
9173bff1ba
Restrict element types and global styling to improve embedability
29 lines
651 B
JavaScript
29 lines
651 B
JavaScript
module.exports = {
|
|
'moduleNameMapper': {
|
|
'^js/(.*)': '<rootDir>/js/$1',
|
|
'^test/(.*)': '<rootDir>/test/$1',
|
|
'\\.css$': 'identity-obj-proxy',
|
|
'\\.scss$': 'identity-obj-proxy',
|
|
},
|
|
'roots': [
|
|
'js/',
|
|
'test/',
|
|
],
|
|
'testMatch': [
|
|
'**/?(*.)+(spec|test).+(ts|js|tsx)'
|
|
],
|
|
'transform': {
|
|
'^.+\\.js$': 'babel-jest',
|
|
'^.+\\.ts$': 'ts-jest',
|
|
'^.*\\.tsx$': 'ts-jest',
|
|
},
|
|
'setupFilesAfterEnv': [
|
|
'<rootDir>/test/jest-setup.ts'
|
|
],
|
|
'coveragePathIgnorePatterns': [
|
|
'/node_modules/',
|
|
'/js/roms/',
|
|
'/test/',
|
|
]
|
|
};
|