feat: release rdbms as beta (#45428)
This commit is contained in:
@@ -25,19 +25,19 @@ const superBlockToOrder = {
|
||||
'javascript-algorithms-and-data-structures': 1,
|
||||
'front-end-development-libraries': 2,
|
||||
'data-visualization': 3,
|
||||
'relational-database': 4,
|
||||
'back-end-development-and-apis': 5,
|
||||
'quality-assurance': 6,
|
||||
'scientific-computing-with-python': 7,
|
||||
'data-analysis-with-python': 8,
|
||||
'information-security': 9,
|
||||
'machine-learning-with-python': 10,
|
||||
'coding-interview-prep': 11
|
||||
'back-end-development-and-apis': 4,
|
||||
'quality-assurance': 5,
|
||||
'scientific-computing-with-python': 6,
|
||||
'data-analysis-with-python': 7,
|
||||
'information-security': 8,
|
||||
'machine-learning-with-python': 9,
|
||||
'coding-interview-prep': 10,
|
||||
'relational-database': 12
|
||||
};
|
||||
|
||||
const superBlockToNewOrder = {
|
||||
...superBlockToOrder,
|
||||
'2022/responsive-web-design': 12
|
||||
'2022/responsive-web-design': 11
|
||||
};
|
||||
|
||||
function getSuperOrder(
|
||||
|
@@ -31,14 +31,14 @@ describe('getSuperOrder', () => {
|
||||
expect(getSuperOrder('javascript-algorithms-and-data-structures')).toBe(1);
|
||||
expect(getSuperOrder('front-end-development-libraries')).toBe(2);
|
||||
expect(getSuperOrder('data-visualization')).toBe(3);
|
||||
expect(getSuperOrder('relational-database')).toBe(4);
|
||||
expect(getSuperOrder('back-end-development-and-apis')).toBe(5);
|
||||
expect(getSuperOrder('quality-assurance')).toBe(6);
|
||||
expect(getSuperOrder('scientific-computing-with-python')).toBe(7);
|
||||
expect(getSuperOrder('data-analysis-with-python')).toBe(8);
|
||||
expect(getSuperOrder('information-security')).toBe(9);
|
||||
expect(getSuperOrder('machine-learning-with-python')).toBe(10);
|
||||
expect(getSuperOrder('coding-interview-prep')).toBe(11);
|
||||
expect(getSuperOrder('back-end-development-and-apis')).toBe(4);
|
||||
expect(getSuperOrder('quality-assurance')).toBe(5);
|
||||
expect(getSuperOrder('scientific-computing-with-python')).toBe(6);
|
||||
expect(getSuperOrder('data-analysis-with-python')).toBe(7);
|
||||
expect(getSuperOrder('information-security')).toBe(8);
|
||||
expect(getSuperOrder('machine-learning-with-python')).toBe(9);
|
||||
expect(getSuperOrder('coding-interview-prep')).toBe(10);
|
||||
expect(getSuperOrder('relational-database')).toBe(12);
|
||||
});
|
||||
|
||||
it('returns a different order if passed the option showNewCurriculum: true', () => {
|
||||
@@ -59,36 +59,36 @@ describe('getSuperOrder', () => {
|
||||
expect(
|
||||
getSuperOrder('data-visualization', { showNewCurriculum: true })
|
||||
).toBe(3);
|
||||
expect(
|
||||
getSuperOrder('relational-database', { showNewCurriculum: true })
|
||||
).toBe(4);
|
||||
expect(
|
||||
getSuperOrder('back-end-development-and-apis', {
|
||||
showNewCurriculum: true
|
||||
})
|
||||
).toBe(5);
|
||||
).toBe(4);
|
||||
expect(
|
||||
getSuperOrder('quality-assurance', { showNewCurriculum: true })
|
||||
).toBe(6);
|
||||
).toBe(5);
|
||||
expect(
|
||||
getSuperOrder('scientific-computing-with-python', {
|
||||
showNewCurriculum: true
|
||||
})
|
||||
).toBe(7);
|
||||
).toBe(6);
|
||||
expect(
|
||||
getSuperOrder('data-analysis-with-python', { showNewCurriculum: true })
|
||||
).toBe(8);
|
||||
).toBe(7);
|
||||
expect(
|
||||
getSuperOrder('information-security', { showNewCurriculum: true })
|
||||
).toBe(9);
|
||||
).toBe(8);
|
||||
expect(
|
||||
getSuperOrder('machine-learning-with-python', { showNewCurriculum: true })
|
||||
).toBe(10);
|
||||
).toBe(9);
|
||||
expect(
|
||||
getSuperOrder('coding-interview-prep', { showNewCurriculum: true })
|
||||
).toBe(11);
|
||||
).toBe(10);
|
||||
expect(
|
||||
getSuperOrder('2022/responsive-web-design', { showNewCurriculum: true })
|
||||
).toBe(11);
|
||||
expect(
|
||||
getSuperOrder('relational-database', { showNewCurriculum: true })
|
||||
).toBe(12);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user