Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions plugin-hrm-form/src/___tests__/translations/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,6 @@ describe('Hierarchical Translations', () => {
describe('lookupTranslation', () => {
const mockManagerGetInstance = Manager.getInstance as jest.MockedFunction<typeof Manager.getInstance>;

beforeAll(() => {
// eslint-disable-next-line global-require
(global as any).Handlebars = require('handlebars');
});

afterAll(() => {
delete (global as any).Handlebars;
});

afterEach(() => {
jest.clearAllMocks();
});
Expand Down
1 change: 1 addition & 0 deletions plugin-hrm-form/src/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
import Handlebars from 'handlebars';
import { Manager } from '@twilio/flex-ui';

import { getDefinitionVersions } from '../hrmConfig';
Expand Down
Loading