provide sufficient package.json to make nodejs image happy
@@ -459,11 +459,11 @@ var _ = g.Describe("[Feature:Builds][Slow] starting a build using CLI", func() {
g.Describe("s2i build maintaining symlinks", func() {
g.It(fmt.Sprintf("should s2i build image and maintain symlinks"), func() {
- g.By("initializing local repo")
+ g.By("initializing a local git repo")
repo, err := exutil.NewGitRepo("symlinks")
o.Expect(err).NotTo(o.HaveOccurred())
defer repo.Remove()
- err = repo.AddAndCommit("package.json", "{}")
+ err = repo.AddAndCommit("package.json", "{\"scripts\" : {} }")
o.Expect(err).NotTo(o.HaveOccurred())
err = os.Symlink(repo.RepoPath+"/package.json", repo.RepoPath+"/link")
