Skip to content

Commit b71eaf8

Browse files
committed
fix: fixup test for new message
1 parent 4825be0 commit b71eaf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rhda.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ suite('RHDA module', () => {
4242
sandbox.restore();
4343
});
4444

45-
test('should ignore unsoported file', async () => {
45+
test('should ignore unsupported file', async () => {
4646
const unsupportedFilePath = mockInvalidPath;
4747
const authorizeRHDAStub = sandbox.stub(globalConfig, 'authorizeRHDA').resolves();
4848
const stackAnalysisServiceStub = sandbox.stub(stackAnalysis, 'executeStackAnalysis').resolves(mockReponse)
@@ -54,7 +54,7 @@ suite('RHDA module', () => {
5454
expect(authorizeRHDAStub.calledOnce).to.be.false;
5555
expect(stackAnalysisServiceStub.calledOnce).to.be.false;
5656
expect(imageAnalysisServiceStub.calledOnce).to.be.false;
57-
expect(showInformationMessageSpy.calledOnceWith(`File ${unsupportedFilePath} is not supported!!`)).to.be.true;
57+
expect(showInformationMessageSpy.calledOnceWith(`File ${unsupportedFilePath} is not supported.`)).to.be.true;
5858
});
5959

6060
test('should receive RHDA report for supported dependency file and successfully save HTML data locally', async () => {

0 commit comments

Comments
 (0)