Skip to content

Commit

Permalink
chore: replace @edx/frontend-build to @openedx/frontend-build and upd…
Browse files Browse the repository at this point in the history
…ate tests
  • Loading branch information
leangseu-edx committed Mar 25, 2024
1 parent 7e8b9bf commit 7a5e022
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 555 deletions.
8 changes: 8 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# required for tests
BASE_URL='http://localhost:2000'
LOGIN_URL='http://localhost:18000/login'
LOGOUT_URL='http://localhost:18000/logout'
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload'
CSRF_TOKEN_API_PATH='/csrf/api/v1/token'
# ------------------------
LANGUAGE_PREFERENCE_COOKIE_NAME='openedx-language-preference'
LMS_BASE_URL='http://localhost:18000'
EXAMS_BASE_URL='http://localhost:18740'
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('eslint');
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { createConfig } = require('@edx/frontend-build');
const { createConfig } = require('@openedx/frontend-build');

module.exports = createConfig('jest', {
// setupFilesAfterEnv is used after the jest environment has been loaded. In general this is what you want.
Expand Down
Loading

0 comments on commit 7a5e022

Please sign in to comment.