From 27ea9392f9b5205209bb1f81cfdd3aa4ac8bb59a Mon Sep 17 00:00:00 2001 From: Tomas Kulhanek Date: Wed, 26 Oct 2022 14:52:32 +0200 Subject: [PATCH] backup markdown test --- .../elements/{markdown.spec.js => markdown.spec-backup.js} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename test/unit/elements/{markdown.spec.js => markdown.spec-backup.js} (94%) diff --git a/test/unit/elements/markdown.spec.js b/test/unit/elements/markdown.spec-backup.js similarity index 94% rename from test/unit/elements/markdown.spec.js rename to test/unit/elements/markdown.spec-backup.js index 0770e16..fffd94a 100644 --- a/test/unit/elements/markdown.spec.js +++ b/test/unit/elements/markdown.spec-backup.js @@ -1,4 +1,3 @@ -import 'isomorphic-fetch'; import '@danzen/createjs'; import {StageComponent} from 'aurelia-testing'; import {bootstrap} from 'aurelia-bootstrapper'; @@ -14,7 +13,7 @@ function delay(time) { describe('markdown element', () => { let component; beforeEach(() => { - jest.setTimeout(30000); + jest.setTimeout(3000); //fake function to satisfy plotly //window.URL.createObjectURL = function() {return {}}; }); @@ -31,7 +30,7 @@ describe('markdown element', () => { component = StageComponent .withResources('elements/markdownaurelia') .inView(''); - delay(3000) + delay(300) .then( () =>{ component.create(bootstrap).then(() => { const view = component.element;