fix: a couple of appId imports

This commit is contained in:
Adolfo R. Brandes
2025-06-26 20:00:06 -03:00
committed by Adolfo R. Brandes
parent 2045854099
commit 268ccc864d
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import { getAppConfig, getSiteConfig } from '@openedx/frontend-base';
import { appId } from '../../../constants';
import * as urls from './urls';
describe('urls', () => {
@@ -25,7 +26,7 @@ describe('urls', () => {
it('returns the url if it is relative', () => {
const url = '/edx.org';
expect(urls.learningMfeUrl(url)).toEqual(
`${getAppConfig('org.openedx.frontend.app.learnerDashboard').LEARNING_BASE_URL}${url}`,
`${getAppConfig(appId).LEARNING_BASE_URL}${url}`,
);
});
it('return null if url is null', () => {