Skip to content

Commit

Permalink
fix: change 2u_degree param for temp disable (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeery authored Aug 8, 2023
1 parent 5f8e8a9 commit 58e1901
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const COURSE = 'course';
export const BOOT_CAMP = 'boot_camp';
export const EXECUTIVE_EDUCATION = 'executive_education';
export const DEGREE = '2U_degree';
export const DEGREE = '2U_degrees';
export const PROGRAM = 'program';

// This array is used to determine the validity of product types as they are passed through the query string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('view-results', () => {

describe('user interface', () => {
beforeAll(() => {
useProductTypes.mockImplementation(() => (['2U_degree', 'boot_camp', 'executive_education', 'program', 'course']));
useProductTypes.mockImplementation(() => (['2U_degrees', 'boot_camp', 'executive_education', 'program', 'course']));
});

beforeEach(async () => {
Expand Down Expand Up @@ -126,7 +126,7 @@ describe('view-results', () => {
page: 'skills_builder',
label: 'MONS101',
position: 0,
product_line: '2U_degree',
product_line: '2U_degrees',
selected_recommendations: {
job_id: 0,
job_name: 'Prospector',
Expand Down
2 changes: 1 addition & 1 deletion src/skills-builder/test/__mocks__/jobSkills.mockData.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const mockData = {
{ title: 'Mining with the Mons', label: 'MONS101', position: 0 },
{ title: 'The Art of Warren Upkeep', label: 'WAR101', position: 1 },
],
'2U_degree': [
'2U_degrees': [
{ title: 'Mining with the Mons', label: 'MONS101', position: 0 },
{ title: 'The Art of Warren Upkeep', label: 'WAR101', position: 1 },
],
Expand Down

0 comments on commit 58e1901

Please sign in to comment.