Remco Haszing
b7d31adda4
Support node16 module resolution
...
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.
`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.
The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
Ashley Engelund (weedySeaDragon @ github)
f62c5d9698
add diagram renderer mocks
2022-11-17 12:25:14 -08:00
Ashley Engelund (weedySeaDragon @ github)
1ad537bc4d
d3 mock: use MockedD3; remove sequence specific mock code
2022-11-17 12:24:58 -08:00
Sidharth Vinod
6e2deb1fa7
fix: Fix eslint warnings
2022-10-09 22:08:32 +08:00
Sidharth Vinod
98506d888c
Fix lint
2022-09-16 18:45:12 +05:30
Sidharth Vinod
bf4607cf08
test: Migrate to vitest from jest
2022-09-07 11:24:40 +05:30
Sidharth Vinod
98e9f5751a
Prettier pass
2022-09-05 01:00:47 +05:30
Matthieu MOREL
d84be0d792
Enable eslint-plugin-jest, eslint-plugin-cypress and wider scan
2021-11-18 23:57:16 +01:00
Alexander Sage
b5e3323a93
fix: workaround for function 25 line limit
2019-07-23 21:33:03 -07:00
Alexander Sage
8f6d148481
chore: added test for background rect dimensions
2019-07-23 21:28:48 -07:00
Alexander Sage
8b05eeaa59
chore: Added unit tests around drawBackgroundRect and drawRect
2019-07-23 19:15:54 -07:00
Alexander Sage
1b001cf1e8
chore: Added unit tests around drawBackgroundRect and drawRect
2019-07-23 19:11:31 -07:00
Knut Sveidqvist
6974892a11
Added jest, jest-puppeteer and jest-image-snapshot for e2e tests
2019-05-30 19:27:27 +02:00
Tyler Long
f4324d1de6
Fix test about curve
2018-03-17 23:19:13 +08:00
Tyler Long
d904574ea8
Replace Karma + Jasmine with Jest
2018-03-10 08:42:59 +08:00