blob: 0fc9b71998ad9d2c7944911cff218392ef7f2469 [file] [log] [blame]
Kevin Lubickd2544352019-03-12 09:20:32 -04001jasmine.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 }).ready().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});