mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 12:07:09 +00:00
test(verifier): author specs through the shared picker path
This commit is contained in:
1 parent
f8e3baf439
commit
aee5d8110a
3 files changed
+271
-73
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user