fix: import grouptypes from correct file

This commit is contained in:
Maria Grimaldi
2024-03-03 19:07:40 -04:00
committed by Adolfo R. Brandes
parent 9299f4cf93
commit c8434b87c0
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
/* eslint-disable import/prefer-default-export */
import { getConfig } from '@edx/frontend-platform';
import { GroupTypes } from './constants';
import { GroupTypes } from 'CourseAuthoring/data/constants';
/**
* Check if a group type is enabled by the current configuration.

View File

@@ -1,5 +1,5 @@
import { getConfig } from '@edx/frontend-platform';
import { GroupTypes } from './constants';
import { GroupTypes } from 'CourseAuthoring/data/constants';
import { isGroupTypeEnabled } from './utils';
jest.mock('@edx/frontend-platform', () => ({ getConfig: jest.fn() }));