We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be28d9 commit fc28271Copy full SHA for fc28271
test/deploy.test.js
@@ -2,6 +2,9 @@
2
// mock config for testing
3
jest.mock('../src/config', () => require('./__mocks__/config'));
4
5
+// mock process.exit for testing
6
+jest.spyOn(process, 'exit').mockImplementation(() => {});
7
+
8
// npm packages
9
const fs = require('fs');
10
const path = require('path');
0 commit comments