Skip to content

Commit

Permalink
ci: Intentionally fail a unit test to verify CI job failure
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Jan 29, 2024
1 parent 3cafa4e commit 12fb712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/dateProvider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ describe("Date Provider test", function () {
const validator = claim.validators.isTrue();
await validator.shouldRefresh({ "test-claim": { v: true, t: Date.now() } });

assert.deepEqual(storageLogs, ["ST_LOGS DATE_PROVIDER_GET_THRESHOLD", "ST_LOGS DATE_PROVIDER_NOW"]);
assert.notDeepEqual(storageLogs, ["ST_LOGS DATE_PROVIDER_GET_THRESHOLD", "ST_LOGS DATE_PROVIDER_NOW"]);
});
});

0 comments on commit 12fb712

Please sign in to comment.