aboutsummaryrefslogtreecommitdiff
path: root/test/console/components/ErrorMessage.test.tsx
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 14:19:27 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 16:12:58 +0900
commit645107c3fcc967e8b5824355c23287611d864612 (patch)
tree4df037cf5d6f1bf1f442543a14e6385edfc8c205 /test/console/components/ErrorMessage.test.tsx
parentb141c46a2afe31dc7a4bfdf7f59c8871def2de23 (diff)
Fix mismatched signature
Diffstat (limited to 'test/console/components/ErrorMessage.test.tsx')
-rw-r--r--test/console/components/ErrorMessage.test.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/console/components/ErrorMessage.test.tsx b/test/console/components/ErrorMessage.test.tsx
index 46ec0b0..5097bc1 100644
--- a/test/console/components/ErrorMessage.test.tsx
+++ b/test/console/components/ErrorMessage.test.tsx
@@ -6,7 +6,7 @@ import ErrorMessage from "../../../src/console/components/ErrorMessage";
describe("console/components/console/completion/ErrorMessage", () => {
it("renders an error message", () => {
const root = ReactTestRenderer.create(
- <ErrorMessage mode="error">Hello!</ErrorMessage>
+ <ErrorMessage>Hello!</ErrorMessage>
).root;
const p = root.findByType("p");