Bet Keeper v2.0 #29
GitHub Actions / Jest Tests
succeeded
Feb 1, 2024 in 0s
48 passed, 0 failed and 0 skipped
✅ test-report.xml
48 tests were completed in 5s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/layout/dialog/Dialog.test.tsx | 5✅ | 135ms | ||
src/providers/DataSourceProvider.test.tsx | 6✅ | 415ms | ||
src/providers/hooks/LocalStorageProvider.test.ts | 6✅ | 37ms | ||
src/views/dashboard/components/BetItem/BetItem.test.tsx | 12✅ | 539ms | ||
src/views/dashboard/components/ManageBetDialog.test.tsx | 7✅ | 1s | ||
src/views/settings/type/FirebaseImportDialog.test.tsx | 3✅ | 359ms | ||
src/views/settings/type/Settings.test.tsx | 9✅ | 664ms |
✅ src/layout/dialog/Dialog.test.tsx
src/layout/dialog/Dialog.test.tsx
✅ Dialog Component Test > Should be visible when open=true
✅ Dialog Component Test > Should not be rendered when open=false
✅ Dialog Component Test > Should close on outer click
✅ useDialog Test > Should change visible state
✅ useDialog Test > Should hide change to visible false
✅ src/providers/DataSourceProvider.test.tsx
src/providers/DataSourceProvider.test.tsx
✅ Bet Provider Test > Should render bets from local storage
✅ Bet Provider Test > Should remove bet from local storage provider
✅ Bet Provider Test > Should not render bets from local storage when firebase datasource
✅ DataSource Provider Tests > Should use LocalStorageProvider as default
✅ DataSource Provider Tests > Should change datasource
✅ DataSource Provider Tests > Should load FirebaseStorageProvider when defined
✅ src/providers/hooks/LocalStorageProvider.test.ts
src/providers/hooks/LocalStorageProvider.test.ts
✅ useLocalStorageProvider Tests > Should load bets from localsotrage
✅ useLocalStorageProvider Tests > Should add bet
✅ useLocalStorageProvider Tests > Should update bet
✅ useLocalStorageProvider Tests > Should resolve bet
✅ useLocalStorageProvider Tests > Should archive bet
✅ useLocalStorageProvider Tests > Should resolve bet
✅ src/views/dashboard/components/BetItem/BetItem.test.tsx
src/views/dashboard/components/BetItem/BetItem.test.tsx
✅ Bet Item Tests > Bet Props Rendering > Render bet data > Should render title
✅ Bet Item Tests > Bet Props Rendering > Render bet data > Should render description
✅ Bet Item Tests > Bet Props Rendering > Render bet data > Should render resolve button
✅ Bet Item Tests > Bet Props Rendering > Render bet data > Should not render menu button
✅ Bet Item Tests > Bet Props Rendering > Render bet data > Should not be expanded
✅ Bet Item Tests > Bet Props Rendering > Render bet actions > Should render and click edit menu option
✅ Bet Item Tests > Bet Props Rendering > Render bet actions > Should render and click archive menu option
✅ Bet Item Tests > Bet Props Rendering > Render bet actions > Should render and click restore menu option
✅ Bet Item Tests > Bet Props Rendering > Render bet actions > Should render and click delete menu option
✅ Bet Item Tests > Bet Props Rendering > Render bet actions > Should not render resolve button when readonly mode
✅ Bet Item Tests > Bet actins > Should expand and show options
✅ Bet Item Tests > Bet actins > Should resolve action open dialog
✅ src/views/dashboard/components/ManageBetDialog.test.tsx
src/views/dashboard/components/ManageBetDialog.test.tsx
✅ Manage Bet Dialog Tests > Renderer > Should not render dialog when visible=false
✅ Manage Bet Dialog Tests > Renderer > Should render default create dialog when visible=true
✅ Manage Bet Dialog Tests > Renderer > Should render edit dialog
✅ Manage Bet Dialog Tests > Should close dialog
✅ Manage Bet Dialog Tests > Creation > Should create bet
✅ Manage Bet Dialog Tests > Update > Should load initial data to from
✅ Manage Bet Dialog Tests > Update > Should update bet data
✅ src/views/settings/type/FirebaseImportDialog.test.tsx
src/views/settings/type/FirebaseImportDialog.test.tsx
✅ Firebase Import Dialog Tests > Should get config from input
✅ Firebase Import Dialog Tests > Should throw error if missing prop
✅ Firebase Import Dialog Tests > Should throw error when invalid config
✅ src/views/settings/type/Settings.test.tsx
src/views/settings/type/Settings.test.tsx
✅ Settings Factory Test > Should render local settings
✅ Settings Factory Test > Should render firebase settings
✅ Settings Firebase Tests > Load initial config > Should have apiKey value
✅ Settings Firebase Tests > Load initial config > Should have Authentication Domain value
✅ Settings Firebase Tests > Load initial config > Should have Project ID value
✅ Settings Firebase Tests > Load initial config > Should have Storage Bucket value
✅ Settings Firebase Tests > Load initial config > Should have Messaging Sender ID value
✅ Settings Firebase Tests > Load initial config > Should have Application ID value
✅ Settings Firebase Tests > Should save settings
Loading