test: fix CI

This commit is contained in:
Benjy Cui 2017-08-18 17:20:07 +08:00
parent f089d1852d
commit 723da5e164

View File

@ -2,13 +2,9 @@ const libDir = process.env.LIB_DIR;
const transformIgnorePatterns = [
'/dist/',
'/node_modules/reqwest',
'/node_modules/',
];
if (libDir !== 'es') {
transformIgnorePatterns.push('/node_modules/');
}
module.exports = {
setupFiles: [
'./tests/setup.js',