Skip to content

Commit

Permalink
test: fix assertions with new project settings key (#14)
Browse files Browse the repository at this point in the history
`configMetadata` is now an expected key, so we need to check for it.
  • Loading branch information
EvanHahn authored Aug 15, 2024
1 parent bbb08e0 commit 3277e8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ test('IPC wrappers work', async () => {

assert.deepEqual(projectSettings, {
name: 'mapeo',
configMetadata: undefined,
defaultPresets: undefined,
})

Expand All @@ -34,6 +35,7 @@ test('Multiple projects and several calls in same tick', async () => {
.map((_, index) => {
return {
name: `Mapeo ${index}`,
configMetadata: undefined,
defaultPresets: undefined,
}
})
Expand Down

0 comments on commit 3277e8a

Please sign in to comment.