• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
2
3let PathKit = null;
4const LoadPathKit = new Promise(function(resolve, reject) {
5    console.log('pathkit loading', new Date());
6    PathKitInit({
7        locateFile: (file) => '/pathkit/'+file,
8    }).then((_PathKit) => {
9        console.log('pathkit loaded', new Date());
10        PathKit = _PathKit;
11        resolve();
12    }).catch((e) => {
13        console.error('pathkit failed to load', new Date(), e);
14        reject();
15    });
16});