Skip to content

Commit 251e128

Browse files
committed
fix(test): update snapshots
1 parent 235cb31 commit 251e128

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"author": "Patrick Puritscher <hello@patrickpuritscher.com>",
77
"scripts": {
88
"clean": "watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn",
9-
"jest": "jest src",
9+
"jest": "jest ./src/",
1010
"eslint:ci": "eslint index.js ./src/ --ext .js,.jsx,.tsx,.ts -f table",
1111
"eslint:fix": "eslint index.js ./src/ --fix --ext .js,.jsx,.tsx,.ts -f table",
12-
"test": "yarn eslint:ci && yarn jest && yarn tsc --noEmit",
12+
"test": "yarn run eslint:ci && yarn run jest && yarn tsc --noEmit",
1313
"tsc": "tsc --skipLibCheck",
1414
"build:module": "yarn tsc --outDir ./lib/module --sourceMap",
1515
"build:commonjs": "yarn tsc --module commonjs --outDir ./lib/commonjs --sourceMap",
@@ -97,4 +97,4 @@
9797
"standard-version": "^9.0.0",
9898
"typescript": "^4.0.2"
9999
}
100-
}
100+
}

src/components/__tests__/__snapshots__/TableView.test.tsx.snap

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
exports[`renders basic 1`] = `
44
<View
55
style={
6-
Object {
7-
"flexDirection": "column",
8-
}
6+
Array [
7+
Object {
8+
"flexDirection": "column",
9+
},
10+
undefined,
11+
]
912
}
1013
>
1114
<View

0 commit comments

Comments
 (0)