瀏覽代碼

Fix test

master
TheoryOfNekomata 3 年之前
父節點
當前提交
44307ff534
共有 1 個檔案被更改,包括 9 行新增1 行删除
  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 查看文件

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

describe('template for creating ringtones', () => {
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…
取消
儲存