Skip to content

Commit c687760

Browse files
committed
docs(examples): converted from e2es
1 parent 852b45f commit c687760

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
202 Bytes
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { createExampleSetup, createTenv } from '@internal/e2e';
2+
import { memtest } from '@internal/perf/memtest';
3+
4+
const cwd = __dirname;
5+
6+
const { gateway } = createTenv(cwd);
7+
const { supergraph, query } = createExampleSetup(cwd);
8+
9+
memtest(
10+
{
11+
cwd,
12+
query,
13+
},
14+
async () =>
15+
gateway({
16+
supergraph: await supergraph(),
17+
}),
18+
);

0 commit comments

Comments
 (0)