Skip to content

Commit

Permalink
Fix broken tests after data went external
Browse files Browse the repository at this point in the history
  • Loading branch information
okaycj committed Jun 11, 2024
1 parent a44cf9b commit 1fe97ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions jest.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports.makePackageConfig = () => {
return {
...require("@jspsych/config/jest").makePackageConfig(__dirname),
moduleNameMapper: { "@lookit/data": "<rootDir>/../../packages/data/src" },
coverageThreshold: {
global: {
branches: 100,
Expand Down
3 changes: 1 addition & 2 deletions packages/surveys/jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const config = require("@jspsych/config/jest").makePackageConfig(__dirname);
const config = require("../../jest.cjs").makePackageConfig();
module.exports = {
...config,
moduleNameMapper: {},
testEnvironmentOptions: {
...config.testEnvironmentOptions,
url: "https://localhost:8000/exp/studies/j/1647e101-282a-4fde-a32b-4f493d14f57e/8a2b2f04-63eb-485a-8e55-7b9362368f19/",
Expand Down

0 comments on commit 1fe97ab

Please sign in to comment.