Skip to content

Commit

Permalink
Do not need to match everything with snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
travjenkins authored and psFried committed Aug 9, 2024
1 parent 5022e0f commit fa319e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/test/shard_client_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ import { ShardClient } from "../src/shard_client.ts";
import { ShardSelector } from "../src/selector.ts";


snapshotTest("ShardClient.list task selector test", async ({ assertSnapshot }) => {
Deno.test("ShardClient.list task selector test", async () => {
const client = new ShardClient(BASE_URL, await makeJwt({}));
const taskSelector = new ShardSelector().task("acmeCo/source-hello-world");

const shards = (await client.list(taskSelector)).unwrap();

assertSnapshot(shards);
assertEquals(1, shards.length);
assertEquals(
"capture/acmeCo/source-hello-world/00ffffffffffffff/00000000-00000000",
Expand Down

0 comments on commit fa319e4

Please sign in to comment.