test(verifier): author specs through the shared picker path

This commit is contained in:
pj committed 2026-06-01 16:59:23 +05:30
1 parent f8e3baf439
commit aee5d8110a
3 files changed
+271 -73

No files matched your search

+6 -1
View File
@@ -23,12 +23,17 @@ func bundleIntegrationSpec(t *testing.T) string {
if err != nil {
t.Fatal(err)
}
runtimePath, err := filepath.Abs("../../pkg/spec/src/goja-runtime.ts")
if err != nil {
t.Fatal(err)
}
defaultsPath, err := filepath.Abs("../../pkg/spec/src/defaults/properties.ts")
if err != nil {
t.Fatal(err)
}
bundle, err := bundler.Bundle(bundler.Options{
EntryFile: specPath,
EntryFile: specPath,
RuntimeFile: runtimePath,
Aliases: map[string]string{
"@sanderling/spec": apiPath,
"@sanderling/spec/defaults/properties": defaultsPath,