mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
Some checks failed
CI - E2E - 3rd party donation tests / Build Client (22) (push) Has been cancelled
CI - E2E - 3rd party donation tests / Build API (Container) (push) Has been cancelled
CI - Node.js / Lint (22) (push) Has been cancelled
CI - E2E - 3rd party donation tests / Run Playwright 3rd Party Donation Tests (chromium, 22) (push) Has been cancelled
CI - Node.js / Build (22) (push) Has been cancelled
CI - Node.js / Test (22) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (22) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 22) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 22) (push) Has been cancelled
11 lines
364 B
TypeScript
11 lines
364 B
TypeScript
import { catalogSuperBlocks } from './curriculum';
|
|
import { catalog } from './catalog';
|
|
|
|
describe('catalog', () => {
|
|
it('should have exactly one entry for each superblock in SuperBlockStage.Catalog', () => {
|
|
expect(catalog.map(course => course.superBlock.toString()).sort()).toEqual(
|
|
catalogSuperBlocks.map(sb => sb.toString()).sort()
|
|
);
|
|
});
|
|
});
|