fix(core): update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { tap, expect } from '@pushrocks/tapbundle';
|
||||
|
||||
import * as webdetector from '../ts/index.js';
|
||||
import * as webdetector from '../ts/webdetector.classes.webdetector.js';
|
||||
let testWebDetector: webdetector.WebDetector;
|
||||
|
||||
tap.test('first test', async () => {
|
||||
@ -27,6 +27,11 @@ tap.test('should detect the platform', async () => {
|
||||
console.log(platform);
|
||||
});
|
||||
|
||||
tap.test('should detect if the app is installed', async () => {
|
||||
const isInstalled = testWebDetector.pwa.isInstalled();
|
||||
expect(isInstalled).toBeFalse();
|
||||
});
|
||||
|
||||
console.log('hi');
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user