Fix nodejs no snapshot failure

This commit is contained in:
Ian Wahbe 2021-08-28 02:06:41 -04:00
parent 95bbad6e3d
commit c40ec4a3cb

View file

@ -1154,9 +1154,8 @@ 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, stderr := e.RunCommand("pulumi", "about")
stdout, _ := e.RunCommand("pulumi", "about")
e.RunCommand("pulumi", "stack", "rm", "--yes")
// Assert we parsed the dependencies
assert.Contains(t, stdout, "@types/node")
assert.Empty(t, stderr, "There should be no warnings")
}