52 lines
847 B
Markdown
52 lines
847 B
Markdown
|
# Snapshot report for `tests/migrations.test.ts`
|
||
|
|
||
|
The actual snapshot is saved in `migrations.test.ts.snap`.
|
||
|
|
||
|
Generated by [AVA](https://avajs.dev).
|
||
|
|
||
|
## dataMigrations happy path
|
||
|
|
||
|
> Migration 0.1.7
|
||
|
|
||
|
{
|
||
|
qi1: {
|
||
|
added: Date 2022-03-02 16:00:00 UTC {},
|
||
|
id: 1,
|
||
|
text: 'Sample',
|
||
|
url: 'https://example.org',
|
||
|
},
|
||
|
version: '0.1.7',
|
||
|
}
|
||
|
|
||
|
## dataMigrations unhappy path
|
||
|
|
||
|
> Migration 0.1.7
|
||
|
|
||
|
{
|
||
|
version: '0.1.7',
|
||
|
}
|
||
|
|
||
|
## Serializing & Deserializing Queue
|
||
|
|
||
|
> Serialized
|
||
|
|
||
|
{
|
||
|
qi1: {
|
||
|
added: Date 2022-03-02 16:00:00 UTC {},
|
||
|
id: 1,
|
||
|
text: 'Sample',
|
||
|
url: 'https://example.org',
|
||
|
},
|
||
|
}
|
||
|
|
||
|
> Deserialized
|
||
|
|
||
|
[
|
||
|
{
|
||
|
added: Date 2022-03-02 16:00:00 UTC {},
|
||
|
id: 1,
|
||
|
text: 'Sample',
|
||
|
url: 'https://example.org',
|
||
|
},
|
||
|
]
|