diff options
Diffstat (limited to 'test/console/components/InfoMessage.test.tsx')
-rw-r--r-- | test/console/components/InfoMessage.test.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/console/components/InfoMessage.test.tsx b/test/console/components/InfoMessage.test.tsx index 1f8f16d..9f3a68d 100644 --- a/test/console/components/InfoMessage.test.tsx +++ b/test/console/components/InfoMessage.test.tsx @@ -1,6 +1,5 @@ import React from "react"; import ReactTestRenderer from "react-test-renderer"; -import { expect } from "chai"; import InfoMessage from "../../../src/console/components/InfoMessage"; describe("console/components/console/completion/InfoMessage", () => { @@ -11,7 +10,7 @@ describe("console/components/console/completion/InfoMessage", () => { const p = root.findByType("p"); - expect(p.props["role"]).to.equal("status"); - expect(p.children).to.deep.equal(["Hello!"]); + expect(p.props["role"]).toEqual("status"); + expect(p.children).toEqual(["Hello!"]); }); }); |