question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

generated snapshot is incorrect

See original GitHub issue
ts-node test/cli.ts -g
# Auto-generated test cases ( Kataw )
- From: kataw/test/__snapshot__/types/type/arrow-function-type/autogen.md
- Path: kataw/test/__snapshot__/types/type/arrow-function-type/gen/tuple
> :: test: tuple
> :: case: (|x,...[() => c[|a|b]|d]) => c|d
## Options

`````js
{}

Input

type a = [(|x,...[() => c[|a|b]|d]) => c|d];

Output

CST

ed test cases ( Kataw )
- From: kataw/test/__snapshot__/types/type/arrow-function-type/autogen.md
- Path: kataw/test/__snapshot__/types/type/arrow-function-type/gen/tuple
> :: test: tuple
> :: case: (|x,...[() => c[|a|b]|d]) => c|d
## Options

`````js
{}

Input

type a = [(|x,...[() => c[|a|b]|d]) => c|d];

### Printed

```javascript
ed test cases ( Kataw )
- From: kataw/test/__snapshot__/types/type/arrow-function-type/autogen.md
- Path: kataw/test/__snapshot__/types/type/arrow-function-type/gen/tuple
> :: test: tuple
> :: case: (|x,...[() => c[|a|b]|d]) => c|d
## Options

`````js
{}

Input

type a = [(|x,...[() => c[|a|b]|d]) => c|d];

### Diagnostics

```javascript
ed test cases ( Kataw )
- From: kataw/test/__snapshot__/types/type/arrow-function-type/autogen.md
- Path: kataw/test/__snapshot__/types/type/arrow-function-type/gen/tuple
> :: test: tuple
> :: case: (|x,...[() => c[|a|b]|d]) => c|d
## Options

`````js
{}

Input

type a = [(|x,...[() => c[|a|b]|d]) => c|d];


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aladdin-addcommented, Jun 30, 2021
0reactions
KFlashcommented, Jun 30, 2021

Is this fixed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's wrong with snapshot tests. Since snapshot ... - Medium
toMatchSnapshot () , Jest creates a snapshot file, like mytest.spec.js.snap , with all snapshots of your test file. You don't see this file...
Read more >
reactjs - Jest snapshot testing not generating appropriate ...
Now I'm trying to test my react components using snapshot testing. I've encountered such problem: jest only updates snapshot for AppComponent, ...
Read more >
Snapshot Testing - Jest
Snapshot tests are a very useful tool whenever you want to make ... This will re-generate snapshot artifacts for all failing snapshot tests....
Read more >
Snapshot comparison failing but results look identical #9865
The output is very unhelpful because the serialized results look identical. To Reproduce. Created a unit tests against captured console output ...
Read more >
Corrupted model snapshot in EF Core and broken migrations
The case for this is almost always that the model snapshot was corrupted before. The most common reason for this is that remove...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found