diff options
| author | hc <haocheng.xie@respiree.com> | 2026-04-10 17:39:12 +0800 |
|---|---|---|
| committer | hc <haocheng.xie@respiree.com> | 2026-04-10 17:39:22 +0800 |
| commit | e4fb9966e762852bf17f21c8406501d42fae0b61 (patch) | |
| tree | 658bbdba977ff7846a17ee94b8ed6b676f6ce9dd /__tests__/App.test.tsx | |
Initial commit: iHealth BLE scanner app with patched SDK v1.5.0
Diffstat (limited to '__tests__/App.test.tsx')
| -rw-r--r-- | __tests__/App.test.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/__tests__/App.test.tsx b/__tests__/App.test.tsx new file mode 100644 index 0000000..e532f70 --- /dev/null +++ b/__tests__/App.test.tsx | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | /** | ||
| 2 | * @format | ||
| 3 | */ | ||
| 4 | |||
| 5 | import React from 'react'; | ||
| 6 | import ReactTestRenderer from 'react-test-renderer'; | ||
| 7 | import App from '../App'; | ||
| 8 | |||
| 9 | test('renders correctly', async () => { | ||
| 10 | await ReactTestRenderer.act(() => { | ||
| 11 | ReactTestRenderer.create(<App />); | ||
| 12 | }); | ||
| 13 | }); | ||
