fix(core): update

This commit is contained in:
2019-05-27 13:35:07 +02:00
parent 78093e5ade
commit 207183e531
4 changed files with 78 additions and 14 deletions

View File

@@ -1,8 +1,19 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmanifest from '../ts/index'
import * as smartmanifest from '../ts/index';
let testSmartManifest: smartmanifest.SmartManifest;
tap.test('first test', async () => {
console.log(smartmanifest.standardExport)
})
testSmartManifest = new smartmanifest.SmartManifest({
name: 'test app',
short_name: 'app'
});
expect(testSmartManifest).to.be.instanceOf(smartmanifest.SmartManifest);
});
tap.start()
tap.test('should produce a web app manifest', async () => {
const testData = testSmartManifest.getData();
console.log(testData);
});
tap.start();