fix(core): update
This commit is contained in:
parent
c12e9eaf76
commit
5df46f8b77
7845
package-lock.json
generated
7845
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -17,9 +17,9 @@
|
|||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.22",
|
"@gitzone/tsbuild": "^2.1.22",
|
||||||
"@gitzone/tsbundle": "^1.0.57",
|
"@gitzone/tsbundle": "^1.0.72",
|
||||||
"@gitzone/tstest": "^1.0.28",
|
"@gitzone/tstest": "^1.0.38",
|
||||||
"@pushrocks/tapbundle": "^3.2.1",
|
"@pushrocks/tapbundle": "^3.2.7",
|
||||||
"tslint": "^6.1.0",
|
"tslint": "^6.1.0",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
},
|
},
|
||||||
@ -37,5 +37,8 @@
|
|||||||
"cli.js",
|
"cli.js",
|
||||||
"npmextra.json",
|
"npmextra.json",
|
||||||
"readme.md"
|
"readme.md"
|
||||||
|
],
|
||||||
|
"browserslist": [
|
||||||
|
"last 1 chrome versions"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
16
test/test.browser.ts
Normal file
16
test/test.browser.ts
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import { expect, tap } from '@pushrocks/tapbundle';
|
||||||
|
import * as websetup from '../ts/index';
|
||||||
|
|
||||||
|
tap.test('first test', async () => {
|
||||||
|
const websetupInstance = new websetup.WebSetup({
|
||||||
|
metaObject: {
|
||||||
|
description: 'A awesome description',
|
||||||
|
title: 'mytitle',
|
||||||
|
canonicalDomain: 'lossless.com'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
await websetupInstance.setup();
|
||||||
|
expect(document.title).to.equal('mytitle');
|
||||||
|
});
|
||||||
|
|
||||||
|
tap.start();
|
@ -1,8 +0,0 @@
|
|||||||
import { expect, tap } from '@pushrocks/tapbundle';
|
|
||||||
import * as websetup from '../ts/index';
|
|
||||||
|
|
||||||
tap.test('first test', async () => {
|
|
||||||
console.log('Waiting for proper puppeteer support here');
|
|
||||||
});
|
|
||||||
|
|
||||||
tap.start();
|
|
Loading…
Reference in New Issue
Block a user