tweak tests
This commit is contained in:
parent
4a69641120
commit
73b771fb78
@ -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
|
||||||
|
@ -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();
|
||||||
});
|
});
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<Hst.Story>
|
<Hst.Story title="ShipEdit/Propulsion/index">
|
||||||
<Propulsion {api} />
|
<Propulsion />
|
||||||
</Hst.Story>
|
</Hst.Story>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user