Logo
Explore Help
Register Sign In
yujunjun/datahub
2
0
Fork 0
You've already forked datahub
mirror of https://github.com/datahub-project/datahub.git synced 2025-07-22 17:10:30 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/datahub-web-react/src/App.test.tsx

12 lines
325 B
TypeScript
Raw Normal View History

feat(React Incubation): React Playground Proof of Concept (#2059) Co-authored-by: John Joyce <jjoyce0510@gmail.com>
2021-01-17 12:54:49 -08:00
import React from 'react';
feat(react): eliminate noises in react build, test and cleanup, get rid of warnings (#2618)
2021-05-28 02:23:09 +08:00
import { act } from 'react-dom/test-utils';
fix(react): including eslint in CI (#2086)
2021-02-05 12:56:07 -08:00
import { render } from '@testing-library/react';
feat(React Incubation): React Playground Proof of Concept (#2059) Co-authored-by: John Joyce <jjoyce0510@gmail.com>
2021-01-17 12:54:49 -08:00
import App from './App';
feat(react): eliminate noises in react build, test and cleanup, get rid of warnings (#2618)
2021-05-28 02:23:09 +08:00
// eslint-disable-next-line jest/expect-expect
test('renders the app', async () => {
const promise = Promise.resolve();
feat(React Incubation): React Playground Proof of Concept (#2059) Co-authored-by: John Joyce <jjoyce0510@gmail.com>
2021-01-17 12:54:49 -08:00
render(<App />);
feat(react): eliminate noises in react build, test and cleanup, get rid of warnings (#2618)
2021-05-28 02:23:09 +08:00
await act(() => promise);
feat(React Incubation): React Playground Proof of Concept (#2059) Co-authored-by: John Joyce <jjoyce0510@gmail.com>
2021-01-17 12:54:49 -08:00
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 347ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API