fix(core): update
This commit is contained in:
		
							
								
								
									
										7843
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										7843
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -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
									
								
							
							
						
						
									
										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(); | ||||
		Reference in New Issue
	
	Block a user