Skip to content

Commit ffad3b5

Browse files
authored
Merge pull request #27 from cap-js/fix-ntpyes-test
change expected value
2 parents fa24dd5 + aef076e commit ffad3b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lib/content-deployment.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe("contentDeployment", () => {
2626

2727
console.log(setGlobalLogLevel.mock.calls);
2828
assert.expect(setGlobalLogLevel.mock.calls[0][0]).to.be.equal("error");
29-
assert.expect(readFile.mock.calls[0][0]).to.be.equal(cds.env?.requires?.notifications?.types);
29+
assert.expect(readFile.mock.calls[0][0]).to.be.equal('');
3030
assert.expect(validateNotificationTypes.mock.calls[0][0]).to.be.deep.equal([]);
3131
assert.expect(processNotificationTypes.mock.calls[0][0]).to.be.deep.equal([]);
3232
});
@@ -41,7 +41,7 @@ describe("contentDeployment", () => {
4141

4242
console.log(setGlobalLogLevel.mock.calls);
4343
assert.expect(setGlobalLogLevel.mock.calls[0][0]).to.be.equal("error");
44-
assert.expect(readFile.mock.calls[0][0]).to.be.equal(cds.env?.requires?.notifications?.types);
44+
assert.expect(readFile.mock.calls[0][0]).to.be.equal('');
4545
assert.expect(validateNotificationTypes.mock.calls[0][0]).to.be.deep.equal([]);
4646
assert.expect(processNotificationTypes.mock.calls[0]).to.be.deep.equal(undefined);
4747
});

0 commit comments

Comments
 (0)