cz-bank-account-validator
Version:
A small and handy library to validate CZ bank account numbers. Running in a browser, in Node.js and also as an ES6 module.
20 lines (17 loc) • 527 B
JavaScript
const ignorePatterns = ['/node_modules/'];
const config = {
transform: {
'^.+\\.js$': 'babel-jest',
'^.+\\.mjs$': 'babel-jest',
},
testEnvironment: 'node',
collectCoverage: false,
modulePathIgnorePatterns: ['.cache', '/dist/'],
testPathIgnorePatterns: ignorePatterns,
coveragePathIgnorePatterns: ignorePatterns,
verbose: false, // otherwise it "eats" console.logs
expand: true,
testRegex: '((\\.|/*.)(test))\\.js?$',
testTimeout: 30000,
};
module.exports = config;