fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-08 11:10:20 +00:00
parent c12e9eaf76
commit 5df46f8b77
4 changed files with 7160 additions and 718 deletions

7845
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,9 +17,9 @@
],
"devDependencies": {
"@gitzone/tsbuild": "^2.1.22",
"@gitzone/tsbundle": "^1.0.57",
"@gitzone/tstest": "^1.0.28",
"@pushrocks/tapbundle": "^3.2.1",
"@gitzone/tsbundle": "^1.0.72",
"@gitzone/tstest": "^1.0.38",
"@pushrocks/tapbundle": "^3.2.7",
"tslint": "^6.1.0",
"tslint-config-prettier": "^1.15.0"
},
@ -37,5 +37,8 @@
"cli.js",
"npmextra.json",
"readme.md"
],
"browserslist": [
"last 1 chrome versions"
]
}

16
test/test.browser.ts Normal file
View 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();

View File

@ -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();