Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Shard

import type { Shard } from "https://googleapis.deno.dev/v1/testing:v1.ts";

Output only. Details about the shard.

interface Shard {
readonly estimatedShardDuration?: number;
readonly numShards?: number;
readonly shardIndex?: number;
readonly testTargetsForShard?: TestTargetsForShard;
}

§Properties

§
readonly estimatedShardDuration?: number
[src]

Output only. The estimated shard duration based on previous test case timing records, if available.

§
readonly numShards?: number
[src]

Output only. The total number of shards.

§
readonly shardIndex?: number
[src]

Output only. The index of the shard among all the shards.

§
readonly testTargetsForShard?: TestTargetsForShard
[src]

Output only. Test targets for each shard. Only set for manual sharding.