From b8b183e970f22890b2c04f51e987af125df3a591 Mon Sep 17 00:00:00 2001 From: PJ Date: Mon, 25 May 2026 18:21:12 +0530 Subject: [PATCH] fix(testrun): alias @sanderling/spec/defaults for the bundler --- internal/testrun/testrun.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/testrun/testrun.go b/internal/testrun/testrun.go index 7fb2ac4..884a33f 100644 --- a/internal/testrun/testrun.go +++ b/internal/testrun/testrun.go @@ -50,6 +50,7 @@ func Execute(ctx context.Context, options Options, stdout io.Writer) error { if specAPIPath != "" { aliases["@sanderling/spec"] = specAPIPath base := filepath.Dir(specAPIPath) + aliases["@sanderling/spec/defaults"] = filepath.Join(base, "defaults/index.ts") aliases["@sanderling/spec/defaults/properties"] = filepath.Join(base, "defaults/properties.ts") } defines := map[string]string{