Revert node change

This commit is contained in:
JubaAzul 2025-01-13 18:47:28 -05:00
parent 12b376d606
commit f201305064
3 changed files with 2 additions and 4 deletions

View file

@ -2,12 +2,10 @@ import { render } from '@testing-library/react';
import { MultipleChoice } from '../../../../components/GiftTemplate/templates';
import { TemplateOptions, MultipleChoice as MultipleChoiceType } from '../../../../components/GiftTemplate/templates/types';
// Mock the nanoid function
jest.mock('nanoid', () => ({
nanoid: jest.fn(() => 'mocked-id')
}));
const mockProps: TemplateOptions & MultipleChoiceType = {
type: 'MC',

View file

@ -28,7 +28,7 @@
"supertest": "^6.3.4"
},
"engines": {
"node": "20.x"
"node": "18.x"
}
},
"node_modules/@ampproject/remapping": {

View file

@ -32,7 +32,7 @@
"supertest": "^6.3.4"
},
"engines": {
"node": "20.x"
"node": "18.x"
},
"jest": {
"testEnvironment": "node",