私は反応したネイティブプロジェクトフォルダで作業しており、シミュレータに正しく読み込むことができます。しかし、私がgitHubに私の変更をコミットしようとすると、私はこのエラーが出てきています。git commitコマンドを発行するときにヤーンエラーが発生しました
が失敗コミット - 終了コード1が出力して、受信された:「ハスキー> NPM実行-sプリコミット(ノードv8.9.3)
糸ランv1.3.2デベロッパー $の冗談& & eslintを。 FAIL SRC /スクリーン/作曲/ 試験 /index.test.js ●正しく
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -98,14 +98,45 @@
testID={undefined}
tvParallaxProperties={undefined}
>
<Text
accessible={true}
- allowFontScaling={true}
+ active={true}
+ allowFontScaling={false}
disabled={false}
ellipsizeMode="tail"
- />
+ style={
+ Array [
+ Object {
+ "color": undefined,
+ "fontSize": 12,
+ },
+ Array [
+ Object {
+ "color": "#000",
+ "fontSize": 30,
+ },
+ Object {
+ "color": "#007aff",
+ "fontSize": 33,
+ "marginLeft": 2,
+ "marginRight": 2,
+ "marginTop": 2,
+ "paddingTop": 2,
+ },
+ ],
+ Object {
+ "fontFamily": "Ionicons",
+ "fontStyle": "normal",
+ "fontWeight": "normal",
+ },
+ ]
+ }
+ virtual={undefined}
+ >
+
+ </Text>
</View>
</View>
<View
style={
Object {
at Object.<anonymous> (src/screens/Compose/__tests__/index.test.js:9:14)
at tryCallTwo (node_modules/promise/lib/core.js:45:5)
at doResolve (node_modules/promise/lib/core.js:200:13)
at new Promise (node_modules/promise/lib/core.js:66:3)
at Promise.resolve.then.el (node_modules/p-map/index.js:46:16)
at tryCallOne (node_modules/promise/lib/core.js:37:12)
at node_modules/promise/lib/core.js:123:15
をレンダリング✕正しく(71ms)をレンダリング > 1スナップショット試験は1つのテストスイートに失敗し
スナップショットの概要。コードの変更を確認するか、yarn test -- -u
で実行してコードを更新してください。
テストスイート:1つの総 スナップショット失敗1:1は、1つの総 テストに失敗しまし1.027s は、すべてのテストスイートを蘭:1を、1つの総 時間を失敗しました。 errorコマンドが終了コード1で失敗しました。 infoこのコマンドについては、https://yarnpkg.com/en/docs/cli/runを参照してください。
ハスキー>事前にコミットフックはしばらくの間、掘りした後「(バイパスに--no-検証を追加)