Skip to content

Commit

Permalink
backup markdown test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasKulhanek committed Oct 26, 2022
1 parent af1302f commit 27ea939
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'isomorphic-fetch';
import '@danzen/createjs';
import {StageComponent} from 'aurelia-testing';
import {bootstrap} from 'aurelia-bootstrapper';
Expand All @@ -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 {}};
});
Expand All @@ -31,7 +30,7 @@ describe('markdown element', () => {
component = StageComponent
.withResources('elements/markdownaurelia')
.inView('<markdownaurelia content="# title\n## title 2"></markdownaurelia>');
delay(3000)
delay(300)
.then( () =>{
component.create(bootstrap).then(() => {
const view = component.element;
Expand Down

0 comments on commit 27ea939

Please sign in to comment.