mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
# Conflicts: # .github/workflows/ci-build.yaml # ui/eslint.config.mjs # ui/jest.config.js # ui/jest.setup.js # ui/package.json # ui/src/app/applications/components/application-create-panel/application-create-panel.tsx # ui/src/app/applications/components/application-details/application-details.tsx # ui/src/app/applications/components/resource-details/resource-details.tsx # ui/src/app/settings/components/repo-details/repo-details.tsx # ui/src/app/tsconfig.json # ui/src/app/webpack.config.js # ui/yarn.lock Signed-off-by: Jonathan Winters <[email protected]>
13 lines
450 B
JavaScript
13 lines
450 B
JavaScript
require('@testing-library/jest-dom');
|
|
globalThis.IS_REACT_ACT_ENVIRONMENT = true;
|
|
|
|
// TODO: This needs to be polyfilled until jest-environment-jsdom decides to pull in a version of jsdom that's >=27.4.0
|
|
const {TextEncoder, TextDecoder} = require('util');
|
|
|
|
if (typeof globalThis.TextEncoder === 'undefined') {
|
|
globalThis.TextEncoder = TextEncoder;
|
|
}
|
|
if (typeof globalThis.TextDecoder === 'undefined') {
|
|
globalThis.TextDecoder = TextDecoder;
|
|
}
|