Skip to content

Commit 27a4834

Browse files
committed
fix some review issues
1 parent 21588dc commit 27a4834

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

configs/webpack.node.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
'https',
1212
'url',
1313
'sharp',
14+
'ndarray-pixels',
1415
],
1516
};
1617
module.exports.target = 'node';

cypress/plugins/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ module.exports = (on, config) => {
6565
};
6666
process.on('exit', safeUnlink);
6767
process.on('SIGINT', () => { safeUnlink(); process.exit(1); });
68-
process.on('SIGTERM', () => { safeUnlink(); });
68+
process.on('SIGTERM', () => { safeUnlink(); process.exit(1);});
6969
global.__bundleCleanupHandlersRegistered = true;
7070
}
71-
71+
7272
if (process.env.NODE_ENV === 'test' || process.env.NODE_ENV === 'development') {
7373
const webpackOptions = {
7474
webpackOptions: require('../../configs/webpack.config'),
7575
watchOptions: {},
7676
};
7777
on('file:preprocessor', webpack(webpackOptions));
7878
}
79-
79+
8080
// on('file:preprocessor', require('@cypress/code-coverage/use-babelrc'));
8181
return config;
8282
};

0 commit comments

Comments
 (0)