mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-01-12 10:04:23 +00:00
Resets the date.
This commit is contained in:
parent
60d96d5dac
commit
55b0e5b79a
@ -142,6 +142,7 @@ describe('DiagramComponent', () => {
|
|||||||
component.fileName = 'file name with no extension';
|
component.fileName = 'file name with no extension';
|
||||||
component.diagramType = FileType.DMN;
|
component.diagramType = FileType.DMN;
|
||||||
expect((component as any).insertDateIntoFileName()).toEqual('file name with no extension_2020-02-02_20:20.dmn');
|
expect((component as any).insertDateIntoFileName()).toEqual('file name with no extension_2020-02-02_20:20.dmn');
|
||||||
|
MockDate.reset();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create a new diagram', () => {
|
it('should create a new diagram', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user