fix(api): show most recent date for FullStack cert (#38736)
This commit is contained in:
committed by
GitHub
parent
f529104348
commit
9451328a85
12
api-server/server/boot_tests/certificate.test.js
Normal file
12
api-server/server/boot_tests/certificate.test.js
Normal file
@ -0,0 +1,12 @@
|
||||
/* global it expect */
|
||||
|
||||
import { getFallbackFrontEndDate } from '../boot/certificate';
|
||||
import { fullStackChallenges } from './fixtures';
|
||||
|
||||
describe('boot/certificate', () => {
|
||||
describe('getFallbackFrontEndDate', () => {
|
||||
it('should return the date of the latest completed challenge', () => {
|
||||
expect(getFallbackFrontEndDate(fullStackChallenges)).toBe(1685210952511);
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user