fix(core): update
This commit is contained in:
19
test/test.ts
19
test/test.ts
@@ -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();
|
||||
|
Reference in New Issue
Block a user