tweak tests
This commit is contained in:
parent
4a69641120
commit
73b771fb78
@ -13,6 +13,12 @@ tasks:
|
||||
cmds:
|
||||
- vitest src
|
||||
|
||||
test:update:
|
||||
deps:
|
||||
- histoire:build
|
||||
cmds:
|
||||
- vitest run -u src
|
||||
|
||||
check:
|
||||
deps:
|
||||
- histoire:build
|
||||
|
@ -5,6 +5,6 @@ import { tick } from "svelte";
|
||||
import Identification from "./Identification.svelte";
|
||||
|
||||
test("carrier", () => {
|
||||
const { getByLabelText } = render(Identification);
|
||||
expect(getByLabelText("carrier")).toBeInTheDocument();
|
||||
const { getByText } = render(Identification);
|
||||
expect(getByText("carrier")).toBeInTheDocument();
|
||||
});
|
||||
|
@ -1,5 +1,5 @@
|
||||
<Hst.Story>
|
||||
<Propulsion {api} />
|
||||
<Hst.Story title="ShipEdit/Propulsion/index">
|
||||
<Propulsion />
|
||||
</Hst.Story>
|
||||
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user