Skip to content
Open
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
22 changes: 22 additions & 0 deletions reactExamples/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) 2026 LabKey Corporation. All rights reserved. No portion of this work may be reproduced
* in any form or by any electronic or mechanical means without written permission from LabKey Corporation.
*/
module.exports = {
globals: {
LABKEY: {},
},
moduleFileExtensions: ['ts', 'tsx', 'js'],
setupFilesAfterEnv: ['./test/jest.setup.ts'],
testEnvironment: 'jsdom',
testRegex: '(\\.(test))\\.(ts|tsx)$',
testResultsProcessor: 'jest-teamcity-reporter',
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
tsconfig: 'node_modules/@labkey/build/webpack/tsconfig.test.json',
},
],
},
};
Loading