* add build tags to all integration tests * fix go sdk imports * make transformation Dirs global
25 lines
590 B
Go
25 lines
590 B
Go
// Copyright 2016-2020, Pulumi Corporation. All rights reserved.
|
|
// +build nodejs all
|
|
|
|
package ints
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
|
|
"github.com/pulumi/pulumi/pkg/v2/testing/integration"
|
|
)
|
|
|
|
func TestNodejsTransformations(t *testing.T) {
|
|
for _, dir := range Dirs {
|
|
d := filepath.Join("nodejs", dir)
|
|
t.Run(d, func(t *testing.T) {
|
|
integration.ProgramTest(t, &integration.ProgramTestOptions{
|
|
Dir: d,
|
|
Dependencies: []string{"@pulumi/pulumi"},
|
|
Quick: true,
|
|
ExtraRuntimeValidation: Validator("nodejs"),
|
|
})
|
|
})
|
|
}
|
|
}
|