Skip to content

Instantly share code, notes, and snippets.

@vjeux
Created April 12, 2017 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vjeux/5fb7566cc3d65974817d512d1ef6abe1 to your computer and use it in GitHub Desktop.
Save vjeux/5fb7566cc3d65974817d512d1ef6abe1 to your computer and use it in GitHub Desktop.
Summary of all failing tests
FAIL tests/jsx-stateless-arrow-fn/jsfmt.spec.js
● flow - undefined-verify
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -125,13 +125,11 @@
attr2="bbbbbbbbbbb"
attr3="cccccccccccc"
attr4
>
ddd d dd d d dddd dddd <strong>hello</strong>
- </div>
- {" "}
- <strong>hello</strong>
+ </div> <strong>hello</strong>
</div>
</div>
);
const render7 = () => (
at Object.<anonymous> (tests_config/run_spec.js:39:64)
at handle (node_modules/worker-farm/lib/child/index.js:41:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
FAIL tests/jsx-split-attrs/jsfmt.spec.js
● flow - undefined-verify
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -85,11 +85,19 @@
submitLabel="Sign in with Google"
>
Hello world
</BaseForm>
<div>
- <div><div><div><div><div>hey hiya how are ya</div></div></div></div></div>
+ <div>
+ <div>
+ <div>
+ <div>
+ <div>hey hiya how are ya</div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
<div>
<div>
<div><div attr="long" attr2="also long" attr3="gonna break" /></div>
</div>
at Object.<anonymous> (tests_config/run_spec.js:39:64)
at handle (node_modules/worker-farm/lib/child/index.js:41:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
FAIL tests/jsx-significant-space/jsfmt.spec.js
● flow - undefined-verify
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -119,11 +119,17 @@
break_components = (
<div>
<Foo />
<Bar>
- <p>foo<span>bar bar bar</span></p><h1><span><em>yep</em></span></h1>
+ <p>
+ foo<span>bar bar bar</span>
+ </p><h1>
+ <span>
+ <em>yep</em>
+ </span>
+ </h1>
</Bar>
<h2>nope</h2>
</div>
);
@@ -175,21 +181,17 @@
not_broken_end = (
<div>
long text long text long text long text long text long text long text long text
{" "}
- <link>url</link>
- {" "}
- long text long text
+ <link>url</link> long text long text
</div>
);
not_broken_begin = (
<div>
<br />
{" "}
long text long text long text long text long text long text long text long text
- <link>url</link>
- {" "}
- long text long text
+ <link>url</link> long text long text
</div>
);
at Object.<anonymous> (tests_config/run_spec.js:39:64)
at handle (node_modules/worker-farm/lib/child/index.js:41:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
FAIL tests/flow/promises/jsfmt.spec.js
● flow - undefined-verify
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -464,11 +464,13 @@
var a: string = str;
var b: number = str; // Error: string ~> number
});
// TODO: resolvedPromise<T> -> catch() -> then():T
-Promise.resolve(0).catch(function(err) {}).then(function(num) {
- var a: number = num;
+Promise.resolve(0)
+ .catch(function(err) {})
+ .then(function(num) {
+ var a: number = num;
- // TODO
- var b: string = num; // Error: string ~> number
-});
+ // TODO
+ var b: string = num; // Error: string ~> number
+ });
at Object.<anonymous> (tests_config/run_spec.js:39:64)
at handle (node_modules/worker-farm/lib/child/index.js:41:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
FAIL tests/objects/jsfmt.spec.js
● babylon - undefined-verify
expect(value).toMatchSnapshot()
Received value does not match stored snapshot 1.
- Snapshot
+ Received
@@ -15,11 +15,17 @@
group(
concat([
"(",
indent(
options.tabWidth,
- concat([line, join(concat([",", line]), printed)])
+ concat([
+ line,
+ join(
+ concat([",", line]),
+ printed
+ )
+ ])
),
options.trailingComma ? "," : "",
line,
")"
]),
at Object.<anonymous> (tests_config/run_spec.js:39:64)
at handle (node_modules/worker-farm/lib/child/index.js:41:8)
at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:686:10)
at Pipe.channel.onread (internal/child_process.js:440:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment