fix: rename superblock to use /2022/ (#44535)
* chore: update superblock properties * refactor: remove isAudited from certs It was always defaulting to English, anyway. * refactor: get superblock from metas, not dirs * fix: rename responsive-web-design-22 This converts the slugs to /2022/responsive-web-design * refactor: remove unused export * test: update test with new curriculum config * refactor: use key not [key] * refactor: remove directory reference from test
This commit is contained in:
committed by
GitHub
parent
198150217a
commit
ff566d441a
@@ -38,7 +38,7 @@ describe('getSuperOrder', () => {
|
||||
it('returns a different order if passed the option showNewCurriculum: true', () => {
|
||||
expect.assertions(13);
|
||||
expect(
|
||||
getSuperOrder('responsive-web-design-22', { showNewCurriculum: true })
|
||||
getSuperOrder('2022/responsive-web-design', { showNewCurriculum: true })
|
||||
).toBe(0);
|
||||
expect(
|
||||
getSuperOrder('javascript-algorithms-and-data-structures', {
|
||||
|
Reference in New Issue
Block a user