UNPKG

insta-toc

Version:

Simultaneously generate, update, and maintain a table of contents for your notes in real time.

19 lines (17 loc) 573 B
/** @type {import('ts-jest').JestConfigWithTsJest} **/ module.exports = { testMatch: ["**/*.test.(ts|js)"], testTimeout: 1000, testEnvironment: "node", transform: { "^.+\\.tsx?$": "ts-jest", // Use ts-jest to transform TS files }, transformIgnorePatterns: [ "/node_modules/(?!obsidian/)", // Transpile the `obsidian` package ], extensionsToTreatAsEsm: [".ts"], moduleNameMapper: { '^obsidian$': '../node_modules/obsidian/obsidian', }, moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], };