BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-05-28 12:33:10 +02:00
parent dac5342a19
commit 7fa246e0e4
13 changed files with 2463 additions and 19392 deletions

View File

@ -1,10 +1,10 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as webstore from '../ts/index';
import * as webstore from '../ts/index.js';
let testTypedrequestcache: webstore.TypedrequestCache;
tap.test('first test', async () => {
testTypedrequestcache = new webstore.TypedrequestCache('https://test.lossless.com/typedrequest')
testTypedrequestcache = new webstore.TypedrequestCache('https://test.lossless.com/typedrequest');
expect(testTypedrequestcache).toBeInstanceOf(webstore.TypedrequestCache);
});

View File

@ -1,5 +1,5 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as webstore from '../ts/index';
import * as webstore from '../ts/index.js';
let testWebstore: webstore.WebStore;