Commit d708b5ad authored by AFOC-1709091830\echou's avatar AFOC-1709091830\echou

remove no use snapshots and fix npm prepublish

parent af44a1bd
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PullToRefresh spec App shows PullToRefresh 1`] = `
<div
style={
Object {
"WebkitOverflowScrolling": "touch",
"backgroundColor": "white",
"height": "auto",
"overflow": "hidden",
"position": "relative",
"zIndex": 1,
}
}
>
<div
style={
Object {
"left": 0,
"overflow": "hidden",
"position": "absolute",
"right": 0,
"top": 0,
}
}
>
<div>
Pull Down
</div>
</div>
<div
style={
Object {
"WebkitOverflowScrolling": "touch",
"backgroundColor": "white",
"height": "auto",
"overflow": "hidden",
"position": "relative",
"zIndex": 1,
}
}
>
<div>
Test
</div>
</div>
</div>
`;
......@@ -10,7 +10,7 @@
"clean": "rimraf dist",
"tsc": "npm run clean && tsc -p .",
"test": "rimraf dist && npm run lint && jest --config=jestconfig.json",
"prepublish": "npm run tsc && npm test"
"prepublish": "npm test && npm run tsc"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment