Skip to content

Commit cf0cc21

Browse files
committed
add visual tests
1 parent 7574ff4 commit cf0cc21

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
.cache
33
dist
44
public
5+
test/diffs
56
*.d.ts
67
*.metadata.json
78
*.bat

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@
2222
"build:aot": "ngc -p config/aot.json",
2323
"public": "parcel build examples/index.html -d public --no-minify",
2424
"start": "parcel examples/index.html -d public --open",
25-
"test": "jest"
25+
"test": "npm run build && npm run public && jest"
2626
},
2727
"dependencies": {
2828
"@activewidgets/frameworks": "https://cdn.activewidgets.com/packages/frameworks-0.0.6.tgz",
2929
"@activewidgets/datagrid": "https://cdn.activewidgets.com/packages/datagrid-0.0.6.tgz",
3030
"@angular/core": "*"
3131
},
3232
"devDependencies": {
33+
"@activewidgets/puppeteer": "^0.0.3",
3334
"@activewidgets/testing": "^0.0.1",
3435
"@angular/common": "^8.0.0",
3536
"@angular/compiler": "^8.0.0",
@@ -60,6 +61,10 @@
6061
"setupFilesAfterEnv": [
6162
"<rootDir>/test/adapter/setup.js"
6263
]
64+
},
65+
{
66+
"displayName": "Visual",
67+
"preset": "@activewidgets/puppeteer"
6368
}
6469
]
6570
},
65 KB
Loading

0 commit comments

Comments
 (0)