html-browser-tester 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -35,7 +35,7 @@ const html = `
35
35
  `
36
36
 
37
37
  const main = async () => {
38
- const browserTester = new BrowserTesterer({ html, width: 980, height: 980 })
38
+ const browserTester = new BrowserTester({ html, width: 980, height: 980 })
39
39
 
40
40
  browserTester.test('h1,h2 textContent should have right textContent', async (_, doc) => {
41
41
  const h1 = doc.querySelector('h1')
package/package.json CHANGED
@@ -2,12 +2,17 @@
2
2
  "name": "html-browser-tester",
3
3
  "main": "./lib/browser-test.js",
4
4
  "types": "./lib/browser-test.d.ts",
5
- "version": "0.0.1",
5
+ "version": "0.0.3",
6
6
  "scripts": {
7
7
  "dev": "vite",
8
8
  "preview": "vite preview",
9
9
  "build:lib": "tsc"
10
10
  },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/steelydylan/html-browser-tester.git"
14
+ },
15
+ "homepage": "https://github.com/steelydylan/html-browser-tester",
11
16
  "devDependencies": {
12
17
  "typescript": "^4.6.4",
13
18
  "vite": "^3.2.3"