Skip to content

Commit 9a12b61

Browse files
committed
test: fix console message with spelling mistake checked in tests
1 parent b9c2021 commit 9a12b61

File tree

3 files changed

+131
-2
lines changed

3 files changed

+131
-2
lines changed

src/proxy/processors/push-action/gitleaks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const exec = async (req: any, action: Action): Promise<Action> => {
171171
step.setError('\n' + gitleaks.stdout + gitleaks.stderr);
172172
}
173173
} else {
174-
console.log('succeded');
174+
console.log('succeeded');
175175
console.log(gitleaks.stderr);
176176
}
177177
} catch (e) {

test/fixtures/test-package/package-lock.json

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/processors/gitLeaks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('gitleaks', () => {
117117
expect(result.error).to.be.false;
118118
expect(result.steps).to.have.lengthOf(1);
119119
expect(result.steps[0].error).to.be.false;
120-
expect(logStub.calledWith('succeded')).to.be.true;
120+
expect(logStub.calledWith('succeeded')).to.be.true;
121121
expect(logStub.calledWith('No leaks found')).to.be.true;
122122
});
123123

0 commit comments

Comments
 (0)