mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
c7af04b317
* feat: support incremental to update textblock's delta * fix: update test code * fix: remove console * fix: update test * feat: integrate increamental delta in Flutter * fix: delete quill editor * fix: delete quill editor * feat: add csharp in codeblock (#3371) * chore: pt-PT & pt-BR translation updated (#3353) * chore: Ensure Cargo.lock Is Updated Alongside Changes to Cargo.toml (#3361) * ci: add cargo check workflow * ci: test cargo.toml * fix: update test * fix: code review * fix: update cargo.toml and cargo.lock * fix: code review * fix: rust format --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io> Co-authored-by: Mayur Mahajan <47064215+MayurSMahajan@users.noreply.github.com> Co-authored-by: Carlos Silva <mtbf99@gmail.com>
18 lines
580 B
JavaScript
18 lines
580 B
JavaScript
const { compilerOptions } = require('./tsconfig.json');
|
|
const { pathsToModuleNameMapper } = require("ts-jest");
|
|
|
|
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
roots: ['<rootDir>'],
|
|
modulePaths: [compilerOptions.baseUrl],
|
|
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths),
|
|
"transform": {
|
|
"(.*)/node_modules/nanoid/.+\\.(j|t)sx?$": "ts-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!nanoid/.*)"
|
|
],
|
|
"testRegex": "(/__tests__/.*\.(test|spec))\\.(jsx?|tsx?)$",
|
|
}; |