toastr2
Version:
ToastrJS is a JavaScript library for Gnome / Growl type non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.
28 lines (27 loc) • 482 B
JavaScript
module.exports = {
browser: true,
testRegex: '(\\.|/)(test|spec)\\.ts?$',
testPathIgnorePatterns: [
'/node_modules/',
],
moduleNameMapper: {
'\\.(scss)$': '<rootDir>/__tests__/styleMock.ts',
},
moduleFileExtensions: [
'js',
'ts',
'json',
],
transform: {
'^.+\\.ts?$': 'ts-jest',
},
coveragePathIgnorePatterns: [
'/node_modules/',
'/__tests__/',
],
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json',
},
},
};