From c620bae038f9083db1ad1fb879bcb1184bab689c Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Thu, 2 May 2024 11:16:05 -0700 Subject: [PATCH] fix failing data test due to syntax error in untranspiled deep-freeze node module --- packages/data/jest.config.cjs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/data/jest.config.cjs b/packages/data/jest.config.cjs index b6db6d8c..adf935a3 100644 --- a/packages/data/jest.config.cjs +++ b/packages/data/jest.config.cjs @@ -1,3 +1,8 @@ const config = require("@jspsych/config/jest").makePackageConfig(__dirname); -config.moduleNameMapper = {}; -module.exports = config; +module.exports = { + ...config, + moduleNameMapper: {}, + transformIgnorePatterns: [ + "node_modules/(?!deep-freeze-es6)" + ] +};