aotds-docks/src/lib/shipDux/index.test.ts

11 lines
280 B
TypeScript
Raw Normal View History

2023-03-03 23:02:52 +00:00
import { createStore } from "./index.js";
test("basic, initial store", () => {
const store = createStore();
const state = store.getState();
expect(state).toHaveProperty("propulsion.drive.reqs.mass", 0);
2023-04-13 21:57:33 +00:00
// expect(state).toHaveProperty("structure.cargo.space", 0);
2023-03-03 23:02:52 +00:00
});