Skip to content

Commit d39071a

Browse files
committed
test name update
1 parent 171c30f commit d39071a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nodejs/integration/sealights_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func testSealights(platform switchblade.Platform, fixtures string) func(*testing
129129
).WithEndpoint("/fs/package.json"))
130130
})
131131

132-
it("modifies the package.json command", func() {
132+
it("modifies the defined npm command", func() {
133133
deployment, _, err := platform.Deploy.
134134
WithEnv(map[string]string{"SL_BUILD_SESSION_ID": "bs1"}).
135135
WithServices(map[string]switchblade.Service{
@@ -142,7 +142,7 @@ func testSealights(platform switchblade.Platform, fixtures string) func(*testing
142142
Expect(err).NotTo(HaveOccurred())
143143

144144
Eventually(deployment).Should(Serve(
145-
ContainSubstring(`"start-app":"./node_modules/.bin/slnodejs run --useinitialcolor true --token token1 --buildsessionid bs1 server.js"`),
145+
ContainSubstring(`"start-app":"./node_modules/.bin/slnodejs run --useinitialcolor true --token token1 --buildsessionid bs1 app.js"`),
146146
).WithEndpoint("/fs/package.json"))
147147
})
148148
})

0 commit comments

Comments
 (0)