This commit is contained in:
Ian Wahbe 2021-08-28 01:17:53 -04:00
parent 244b8d9ea5
commit 95bbad6e3d

View file

@ -1154,9 +1154,9 @@ func TestAboutNodeJS(t *testing.T) {
e.RunCommand("pulumi", "login", "--cloud-url", e.LocalURL())
e.RunCommand("pulumi", "stack", "init", "about-nodejs")
e.RunCommand("pulumi", "stack", "select", "about-nodejs")
stdout, _ := e.RunCommand("pulumi", "about")
stdout, stderr := e.RunCommand("pulumi", "about")
e.RunCommand("pulumi", "stack", "rm", "--yes")
// Assert we parsed the dependencies
assert.Contains(t, stdout, "@types/node")
assert.Empty(t, stdout, "There should be no warnings")
assert.Empty(t, stderr, "There should be no warnings")
}