Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
orzyyyy committed Apr 12, 2019
1 parent 50a474d commit 4cfda82
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 46 deletions.
93 changes: 47 additions & 46 deletions package.json
@@ -1,46 +1,47 @@
{
"name": "mini-xmind",
"version": "1.1.3",
"scripts": {
"start": "nino go -e ./src/go",
"test": "nino test",
"build": "tsc && nino koei -c ./scripts/nino.koei.js",
"compile": "tsc && nino compile",
"codecov": "nino test -d",
"lint": "npx eslint .",
"prettier": "nino prettier",
"lint-staged": "lint-staged",
"backup": "npm config set registry=https://registry.npmjs.org && npm publish && npm config set registry=https://registry.npm.taobao.org",
"pub": "npm run build && npm run compile && git push origin master && npm publish",
"deploy": "npm run build && gh-pages -d dist"
},
"description": "A tool to make mind-mapping easier",
"files": [
"lib",
"dist"
],
"license": "MIT",
"main": "lib/index",
"dependencies": {
"antd": "^3.16.2",
"react-draggable": "^3.2.1"
},
"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.9.1",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.3",
"dekko": "^0.2.1",
"gh-pages": "^2.0.1",
"nino-cli": "^0.7.2"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.{ts,tsx}": [
"npm run prettier",
"git add"
]
}
}
{
"name": "mini-xmind",
"version": "1.1.3",
"scripts": {
"start": "nino go -e ./src/go",
"test": "nino test",
"build": "tsc && nino koei -c ./scripts/nino.koei.js",
"compile": "tsc && nino compile",
"codecov": "nino test -d",
"lint": "npx eslint .",
"prettier": "nino prettier",
"lint-staged": "lint-staged",
"backup": "npm config set registry=https://registry.npmjs.org && npm publish && npm config set registry=https://registry.npm.taobao.org",
"pub": "npm run build && npm run compile && git push origin master && npm publish",
"deploy": "npm run build && gh-pages -d dist"
},
"description": "A tool to make mind-mapping easier",
"files": [
"lib",
"dist"
],
"license": "MIT",
"main": "lib/index",
"dependencies": {
"antd": "^3.16.2",
"react-draggable": "^3.2.1"
},
"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.9.1",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.3",
"dekko": "^0.2.1",
"gh-pages": "^2.0.1",
"lint-staged": "^8.1.5",
"nino-cli": "^0.7.2"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.{ts,tsx}": [
"npm run prettier",
"git add"
]
}
}
3 changes: 3 additions & 0 deletions src/demo/__tests__/__snapshots__/demo.test.tsx.snap
Expand Up @@ -44,6 +44,7 @@ exports[`demo render correctly 1`] = `
className=""
data-icon="minus"
fill="currentColor"
focusable="false"
height="1em"
key="svg-minus"
viewBox="64 64 896 896"
Expand Down Expand Up @@ -93,6 +94,7 @@ exports[`demo render correctly 1`] = `
className=""
data-icon="border"
fill="currentColor"
focusable="false"
height="1em"
key="svg-border"
viewBox="64 64 896 896"
Expand Down Expand Up @@ -142,6 +144,7 @@ exports[`demo render correctly 1`] = `
className=""
data-icon="tag"
fill="currentColor"
focusable="false"
height="1em"
key="svg-tag"
viewBox="64 64 896 896"
Expand Down
3 changes: 3 additions & 0 deletions src/tools/__tests__/__snapshots__/Toolbar.test.tsx.snap
Expand Up @@ -40,6 +40,7 @@ exports[`Toolbar toolbar render correctly 1`] = `
className=""
data-icon="minus"
fill="currentColor"
focusable="false"
height="1em"
key="svg-minus"
viewBox="64 64 896 896"
Expand Down Expand Up @@ -89,6 +90,7 @@ exports[`Toolbar toolbar render correctly 1`] = `
className=""
data-icon="border"
fill="currentColor"
focusable="false"
height="1em"
key="svg-border"
viewBox="64 64 896 896"
Expand Down Expand Up @@ -138,6 +140,7 @@ exports[`Toolbar toolbar render correctly 1`] = `
className=""
data-icon="tag"
fill="currentColor"
focusable="false"
height="1em"
key="svg-tag"
viewBox="64 64 896 896"
Expand Down

0 comments on commit 4cfda82

Please sign in to comment.