1.1 KiB
1.1 KiB
Snapshot report for tests/migrations.test.ts
The actual snapshot is saved in migrations.test.ts.snap
.
Generated by AVA.
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',
}
Migration 0.3.0
{
qi1: {
added: Date 2022-03-02 16:00:00 UTC {},
id: 1,
sortIndex: 1,
text: 'Sample',
url: 'https://example.org',
},
version: '0.3.0',
}
dataMigrations unhappy path
Migration 0.1.7
{
version: '0.1.7',
}
Migration 0.3.0
{
version: '0.3.0',
}
Serializing & Deserializing Queue
Serialized
{
qi1: {
added: '2022-03-02T16:00:00.000Z',
id: 1,
sortIndex: 1,
text: 'Sample',
url: 'https://example.org',
},
}
Deserialized
[
{
added: Date 2022-03-02 16:00:00 UTC {},
id: 1,
sortIndex: 1,
text: 'Sample',
url: 'https://example.org',
},
]