smartmanifest/test/test.ts
2019-05-27 13:35:07 +02:00

20 lines
526 B
TypeScript

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