From 9299f4cf93130286109ae57fc4958aac9a60a40d Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Sun, 3 Mar 2024 19:04:53 -0400 Subject: [PATCH] fix: import grouptypes from correct file --- plugins/course-apps/teams/utils.js | 2 +- plugins/course-apps/teams/utils.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/course-apps/teams/utils.js b/plugins/course-apps/teams/utils.js index 32e9ce3da..b596f94f1 100644 --- a/plugins/course-apps/teams/utils.js +++ b/plugins/course-apps/teams/utils.js @@ -1,7 +1,7 @@ /* eslint-disable import/prefer-default-export */ import { getConfig } from '@edx/frontend-platform'; -import { GroupTypes } from '../../data/constants'; +import { GroupTypes } from './constants'; /** * Check if a group type is enabled by the current configuration. diff --git a/plugins/course-apps/teams/utils.test.js b/plugins/course-apps/teams/utils.test.js index 20f29a53e..ebff4a361 100644 --- a/plugins/course-apps/teams/utils.test.js +++ b/plugins/course-apps/teams/utils.test.js @@ -1,5 +1,5 @@ import { getConfig } from '@edx/frontend-platform'; -import { GroupTypes } from '../../data/constants'; +import { GroupTypes } from './constants'; import { isGroupTypeEnabled } from './utils'; jest.mock('@edx/frontend-platform', () => ({ getConfig: jest.fn() }));