forked from paketo-buildpacks/npm-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init_test.go
28 lines (24 loc) · 870 Bytes
/
init_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package npminstall_test
import (
"testing"
"github.com/onsi/gomega/format"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"
)
func TestUnitNPMInstall(t *testing.T) {
format.MaxLength = 0
suite := spec.New("npm-install", spec.Report(report.Terminal{}))
suite("Build", testBuild)
suite("BuildProcessResolver", testBuildProcessResolver)
suite("CIBuildProcess", testCIBuildProcess)
suite("Detect", testDetect)
suite("Environment", testEnvironment)
suite("InstallBuildProcess", testInstallBuildProcess)
suite("LinkedModuleResolver", testLinkedModuleResolver)
suite("Linker", testLinker)
suite("PackageManangerConfigurationManager", testPackageManagerConfigurationManager)
suite("PruneBuildProcess", testPruneBuildProcess)
suite("RebuildBuildProcess", testRebuildBuildProcess)
suite("UpdateNpmCacheLayer", testUpdateNpmCache)
suite.Run(t)
}