Skip to content

Commit

Permalink
fix config tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brenthagen committed Oct 24, 2024
1 parent 305823c commit d9cd1b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/redux/config/__tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ describe('config', () => {
expect(Cfg.configInitialized(state.config as any)).toEqual({
type: 'config:INITIALIZED',
payload: { config: state.config },
meta: { shell: true },
})
})

it('can create an config:VALUE_UPDATED action for a successful update', () => {
expect(Cfg.configValueUpdated('foo.bar', false)).toEqual({
type: 'config:VALUE_UPDATED',
payload: { path: 'foo.bar', value: false },
meta: { shell: true },
})
})

Expand Down

0 comments on commit d9cd1b6

Please sign in to comment.