mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 11:04:27 +08:00
test(web): normalize optional bootstrap status
This commit is contained in:
parent
bb9fc1a08e
commit
f2aa2123ca
@ -15,7 +15,7 @@ describe('model billing rolling contracts', () => {
|
||||
})
|
||||
|
||||
expect(result.model_billing_source).toBe('legacy_message_credits')
|
||||
expect(result.tokener_bootstrap_status).toBeUndefined()
|
||||
expect(result.tokener_bootstrap_status ?? null).toBeNull()
|
||||
})
|
||||
|
||||
it('defaults an old provider credits payload to legacy billing', () => {
|
||||
@ -31,6 +31,6 @@ describe('model billing rolling contracts', () => {
|
||||
})
|
||||
|
||||
expect(result.model_billing_source).toBe('legacy_message_credits')
|
||||
expect(result.tokener_bootstrap_status).toBeUndefined()
|
||||
expect(result.tokener_bootstrap_status ?? null).toBeNull()
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user