Skip to content

Commit

Permalink
fix(test): fix linting/type issues with allotment/null test
Browse files Browse the repository at this point in the history
  • Loading branch information
lapets committed Feb 4, 2025
1 parent 699e7d4 commit aa10173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/nilql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ describe("end-to-end workflows involving share allotment and unification", () =>
c: null,
};
const secretKey = await nilql.SecretKey.generate(cluster, { store: true });
const encrypted: { [k: string]: object } = {};
const encrypted: { [k: string]: object | null } = {};
for (const key of ["a", "b"]) {
encrypted[key] = {
$allot: [
Expand All @@ -952,7 +952,7 @@ describe("end-to-end workflows involving share allotment and unification", () =>
],
};
}
encrypted["c"] = null;
encrypted.c = null;
const shares = nilql.allot(encrypted) as Array<{
[key: string]: string | object;
}>;
Expand Down

0 comments on commit aa10173

Please sign in to comment.