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 1264ffc commit 0c56950Copy full SHA for 0c56950
test/init.test.js
@@ -21,9 +21,9 @@ describe('initHusky', () => {
21
}
22
});
23
24
- test('should return 0 when .husky directory does not exist', () => {
+ test('should return 1 when .husky directory does not exist', () => {
25
const result = initHusky(tempDir);
26
- assert.strictEqual(result, 0);
+ assert.strictEqual(result, 1);
27
28
29
test('should create new hook file when .husky exists but no hook file', () => {
0 commit comments