mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Prettier
This commit is contained in:
parent
f6d69b33b3
commit
b84511b314
@ -1,8 +1,7 @@
|
||||
/**
|
||||
* Mocks for `./mermaidAPI`.
|
||||
*
|
||||
* We can't easily use `jest.spyOn(mermaidAPI, "function")` since the object
|
||||
* is frozen with `Object.freeze()`.
|
||||
*
|
||||
* We can't easily use `jest.spyOn(mermaidAPI, "function")` since the object is frozen with `Object.freeze()`.
|
||||
*/
|
||||
import * as configApi from '../config';
|
||||
|
||||
@ -42,6 +41,6 @@ export const mermaidAPI = {
|
||||
configApi.reset(configApi.defaultConfig);
|
||||
},
|
||||
defaultConfig: configApi.defaultConfig,
|
||||
}
|
||||
};
|
||||
|
||||
export default mermaidAPI;
|
||||
|
Loading…
x
Reference in New Issue
Block a user