Skip to content

Commit 982a8ff

Browse files
committed
fix(tests): update Jest mapping for tiptap code-block-lowlight extension
1 parent 9a09457 commit 982a8ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jest_config/jest.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'shared/urls': path.resolve(__dirname, './globalMocks/urls.js'),
2020
'^dexie$': require.resolve('dexie'),
2121
'^mathlive$': 'identity-obj-proxy',
22+
'^@tiptap/extension-code-block-lowlight$': '<rootDir>/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js',
2223
},
2324
testEnvironment: 'jsdom',
2425
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],

0 commit comments

Comments
 (0)