mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
reset the testTimeout to 5 seconds and change it directly in the test
This commit is contained in:
@@ -89,7 +89,7 @@ describe('when using mermaid and ', () => {
|
||||
).resolves.not.toThrow();
|
||||
// should still render, even if lazyLoadedDiagrams fails
|
||||
expect(mermaidAPI.render).toHaveBeenCalled();
|
||||
});
|
||||
}, 20_000);
|
||||
|
||||
it('should defer diagram load based on parameter', async () => {
|
||||
let loaded = false;
|
||||
|
@@ -24,7 +24,6 @@ export default defineConfig({
|
||||
reportsDirectory: './coverage/vitest',
|
||||
exclude: ['**/node_modules/**', '**/tests/**', '**/__mocks__/**'],
|
||||
},
|
||||
testTimeout: 10000,
|
||||
},
|
||||
build: {
|
||||
/** If you set esmExternals to true, this plugins assumes that
|
||||
|
Reference in New Issue
Block a user