Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Aug 30, 2024
1 parent 4a82f7a commit b6587da
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/stash/src/actions/getConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("getConfig", () => {
deploy: _4,
...namespacedTable
} = defineTable({
namespace: "namespace",
namespaceLabel: "namespace",
label: "test",
schema: { field1: "address", field2: "string" },
key: ["field1"],
Expand Down
2 changes: 1 addition & 1 deletion packages/stash/src/actions/getTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe("getTable", () => {
stash: stash,
table: defineTable({
label: "table1",
namespace: "namespace1",
namespaceLabel: "namespace1",
schema: { field1: "uint32", field2: "address" },
key: ["field1"],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/stash/src/actions/registerTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe("registerTable", () => {
stash: stash,
table: defineTable({
label: "table1",
namespace: "namespace1",
namespaceLabel: "namespace1",
schema: { field1: "uint32", field2: "address" },
key: ["field1"],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/stash/src/boundTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { defineTable } from "@latticexyz/store/config/v2";
describe("BoundTable", () => {
const tableConfig = defineTable({
label: "table1",
namespace: "namespace1",
namespaceLabel: "namespace1",
schema: { field1: "uint32", field2: "address" },
key: ["field1"],
});
Expand Down
6 changes: 3 additions & 3 deletions packages/stash/src/createStash.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ describe("createStash", () => {

stash.registerTable({
table: defineTable({
namespace: "namespace2",
namespaceLabel: "namespace2",
label: "table2",
schema: { field1: "uint256", value: "uint256" },
key: ["field1"],
Expand Down Expand Up @@ -391,15 +391,15 @@ describe("createStash", () => {
stash.registerTable({
table: defineTable({
label: "table1",
namespace: "namespace1",
namespaceLabel: "namespace1",
schema: { field1: "uint32", field2: "address" },
key: ["field1"],
}),
});
stash.registerTable({
table: defineTable({
label: "table2",
namespace: "namespace2",
namespaceLabel: "namespace2",
schema: { field1: "uint32", field2: "address" },
key: ["field1"],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/stash/src/decorators/defaultActions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe("stash with default actions", () => {
deploy: __,
...table
} = defineTable({
namespace: "namespace",
namespaceLabel: "namespace",
label: "test",
schema: { field1: "address", field2: "string" },
key: ["field1"],
Expand Down

0 comments on commit b6587da

Please sign in to comment.