Skip to content

Commit

Permalink
feat: add redirect launch button on the instructor tab
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDavidBuitrago committed Dec 16, 2024
1 parent e19ee48 commit 3859cca
Show file tree
Hide file tree
Showing 25 changed files with 46,902 additions and 46,055 deletions.
1 change: 1 addition & 0 deletions __mocks__/fileMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = 'test-file-stub';
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
presets: [

Check failure on line 2 in babel.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 2 spaces but found 4
['@babel/preset-env', { targets: { node: 'current' } }],

Check failure on line 3 in babel.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
'@babel/preset-react',

Check failure on line 4 in babel.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
],

Check failure on line 5 in babel.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 2 spaces but found 4
};
14 changes: 14 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
moduleNameMapper: {

Check failure on line 2 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 2 spaces but found 4
'^views/(.*)$': '<rootDir>/src/views/$1',

Check failure on line 3 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
'^shared/(.*)$': '<rootDir>/src/shared/$1',

Check failure on line 4 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
'^constants/(.*)$': '<rootDir>/src/constants/$1',

Check failure on line 5 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',

Check failure on line 6 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
'\\.(svg|png|jpg|jpeg|gif)$': '<rootDir>/__mocks__/fileMock.js',

Check failure on line 7 in jest.config.js

View workflow job for this annotation

GitHub Actions / test (16)

Expected indentation of 4 spaces but found 8
},
transform: {
'^.+\\.[t|j]sx?$': 'babel-jest',
},
transformIgnorePatterns: ['node_modules/(?!@edx/frontend-platform|@edx/paragon|react-paragon-topaz)'],
testEnvironment: 'jest-environment-jsdom',
};
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT=''
SEGMENT_KEY=''
SITE_NAME=''
USER_INFO_COOKIE_NAME=''
MFE_CONFIG_API_URL=''
XTREME_LABS_PATH=''
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
SEGMENT_KEY=''
SITE_NAME=localhost
USER_INFO_COOKIE_NAME='edx-user-info'
MFE_CONFIG_API_URL='http://localhost:18000/api/mfe_config/v1'
XTREME_LABS_PATH='xtreme-labs-dashboard'
Loading

0 comments on commit 3859cca

Please sign in to comment.