tweak tests

docks66-json-schema
Yanick Champoux 2023-04-22 11:04:48 -04:00
parent 4a69641120
commit 73b771fb78
3 changed files with 10 additions and 4 deletions

View File

@ -13,6 +13,12 @@ tasks:
cmds: cmds:
- vitest src - vitest src
test:update:
deps:
- histoire:build
cmds:
- vitest run -u src
check: check:
deps: deps:
- histoire:build - histoire:build

View File

@ -5,6 +5,6 @@ import { tick } from "svelte";
import Identification from "./Identification.svelte"; import Identification from "./Identification.svelte";
test("carrier", () => { test("carrier", () => {
const { getByLabelText } = render(Identification); const { getByText } = render(Identification);
expect(getByLabelText("carrier")).toBeInTheDocument(); expect(getByText("carrier")).toBeInTheDocument();
}); });

View File

@ -1,5 +1,5 @@
<Hst.Story> <Hst.Story title="ShipEdit/Propulsion/index">
<Propulsion {api} /> <Propulsion />
</Hst.Story> </Hst.Story>
<script> <script>