Browse Source

Revert not needed changes

arvid-e 7 months ago
parent
commit
83c4236a95
2 changed files with 0 additions and 9 deletions
  1. 0 6
      apps/app/jest.config.js
  2. 0 3
      apps/app/src/client/services/renderer/renderer.tsx

+ 0 - 6
apps/app/jest.config.js

@@ -19,9 +19,6 @@ module.exports = {
       transform: {
         '^.+\\.(t|j)sx?$': '@swc-node/jest',
       },
-      transformIgnorePatterns: [
-        '/node_modules/(?!unist-util-visit)/', // Ignore all node_modules EXCEPT unist-util-visit
-      ],
       rootDir: '.',
       roots: ['<rootDir>'],
       testMatch: ['<rootDir>/test/integration/**/*.test.ts', '<rootDir>/test/integration/**/*.test.js'],
@@ -42,9 +39,6 @@ module.exports = {
       transform: {
         '^.+\\.(t|j)sx?$': '@swc-node/jest',
       },
-      transformIgnorePatterns: [
-        '/node_modules/(?!unist-util-visit)/', // Ignore all node_modules EXCEPT unist-util-visit
-      ],
       rootDir: '.',
       roots: ['<rootDir>'],
       testMatch: ['<rootDir>/test/integration/**/v5.*.test.ts', '<rootDir>/test/integration/**/v5.*.test.js'],

+ 0 - 3
apps/app/src/client/services/renderer/renderer.tsx

@@ -67,7 +67,6 @@ export const generateViewOptions = (
     mermaid.remarkPlugin,
     xsvToTable.remarkPlugin,
     attachment.remarkPlugin,
-    codeBlock.remarkPlugin,
     remarkGithubAdmonitionsToDirectives,
     callout.remarkPlugin,
     lsxGrowiDirective.remarkPlugin,
@@ -176,7 +175,6 @@ export const generateSimpleViewOptions = (
     mermaid.remarkPlugin,
     xsvToTable.remarkPlugin,
     attachment.remarkPlugin,
-    codeBlock.remarkPlugin,
     remarkGithubAdmonitionsToDirectives,
     callout.remarkPlugin,
     lsxGrowiDirective.remarkPlugin,
@@ -274,7 +272,6 @@ export const generatePreviewOptions = (config: RendererConfigExt, pagePath: stri
     mermaid.remarkPlugin,
     xsvToTable.remarkPlugin,
     attachment.remarkPlugin,
-    codeBlock.remarkPlugin,
     remarkGithubAdmonitionsToDirectives,
     callout.remarkPlugin,
     lsxGrowiDirective.remarkPlugin,