Commit ab7a345

Anton Golub <antongolub@antongolub.com>
2022-06-01 22:58:07
test: check that `p.inherit` does not change the origin promise (#418)
1 parent 2ec108e
Changed files (1)
test/index.test.js
@@ -416,6 +416,7 @@ test('inherit() works', async () => {
   let b = $`printf bar`
   assert.is((await b).stdout, 'bar')
   assert.throws(() => b.inherit())
+  assert.not.throws(() => b.stdin)
 })
 
 test.run()