···1export async function run(project) {
2 await project.init("com.myapp.*");
30000004 // Verify init created a working project with default main.tsp
5 await project.runBuildScript();
6 await project.compareTo("expected1");
···1export async function run(project) {
2 await project.init("com.myapp.*");
34+ // Verify init generated externals.tsp with existing external lexicons (before build)
5+ const externals = await project.readFile("typelex/externals.tsp");
6+ if (!externals.includes("com.atproto.label.defs")) {
7+ throw new Error("externals.tsp should contain external lexicons after init");
8+ }
9+10 // Verify init created a working project with default main.tsp
11 await project.runBuildScript();
12 await project.compareTo("expected1");