From 841a273d71d505863ef4c3fb21427c380cea0edd Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Fri, 10 Nov 2023 16:27:51 +0800 Subject: [PATCH] feat: change .babelrc to babel.config.js according to https://github.com/jestjs/jest/issues/6229\#issuecomment-403539460 Signed-off-by: SuZhou-Joe --- test/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/jest.config.js b/test/jest.config.js index b2e97fb7..3a5ab955 100644 --- a/test/jest.config.js +++ b/test/jest.config.js @@ -22,6 +22,7 @@ module.exports = { '/public/requests/', '/__utils__/', ], + // https://github.com/jestjs/jest/issues/6229#issuecomment-403539460 transformIgnorePatterns: ['node_modules/(?!langchain|langsmith)'], moduleNameMapper: { '\\.(css|less|sass|scss)$': '/test/__mocks__/styleMock.js',