mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
12 lines
411 B
TypeScript
12 lines
411 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
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()
|
|
);
|
|
});
|
|
});
|