We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29748af commit c97240aCopy full SHA for c97240a
2 files changed
.gitignore
@@ -13,6 +13,7 @@ tsconfig.tsbuildinfo
13
.tox/
14
15
.eslintcache
16
+.jest-cache
17
.stylelintcache
18
19
# Ignore the test reports
plugins/ui/src/js/src/DocumentHandler.test.tsx
@@ -55,13 +55,17 @@ beforeEach(() => {
55
});
56
57
it('should throw an error if no children to render', () => {
58
+ TestUtils.disableConsoleOutput();
59
+
60
const children = makeDocument();
61
expect(() => render(makeDocumentHandler({ children }))).toThrow(
62
NoChildrenError
63
);
64
65
66
it('should throw an error if the document mixes panel and non-panel elements', () => {
67
68
69
const children = makeDocument([
70
makeElement(PANEL_ELEMENT_NAME),
71
makeElement('not panel element'),
0 commit comments