Browse Source

Fix test

master
TheoryOfNekomata 3 years ago
parent
commit
44307ff534
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      packages/app-web/src/components/templates/CreateRingtone/index.test.tsx

+ 9
- 1
packages/app-web/src/components/templates/CreateRingtone/index.test.tsx View File

@@ -3,6 +3,14 @@ import { render } from '@testing-library/react'


describe('template for creating ringtones', () => { describe('template for creating ringtones', () => {
it('should render without crashing', () => { it('should render without crashing', () => {
expect(() => render(<CreateRingtoneTemplate />)).not.toThrow()
expect(() => render(
<CreateRingtoneTemplate
composerRingtones={[]}
composer={{
name: 'TheoryOfNekomata',
id: '00000000-0000-0000-000000000000',
}}
/>
)).not.toThrow()
}) })
}) })

Loading…
Cancel
Save