Commit 0895f47

Anton Medvedev <anton@medv.io>
2022-06-09 15:37:42
Add more tests
1 parent 7eff5cf
Changed files (1)
test/index.test.js
@@ -487,4 +487,8 @@ test('timeout() expiration works', async () => {
   assert.is(signal, undefined)
 })
 
+test('malformed cmd error', async () => {
+  assert.throws(() => $`\033`, /malformed/i)
+})
+
 test.run()