Commit 07e5aa1
Changed files (3)
test/cli.test.js
@@ -12,10 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-import { test } from 'uvu'
+import { suite } from 'uvu'
import * as assert from 'uvu/assert'
import '../build/globals.js'
+const test = suite('cli')
+
$.verbose = false
test('prints version', async () => {
test/experimental.test.js
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-import { test } from 'uvu'
+import { suite } from 'uvu'
import * as assert from 'uvu/assert'
import '../build/globals.js'
import { retry, withTimeout } from '../build/experimental.js'
-import chalk from 'chalk'
+const test = suite('experimental')
$.verbose = false
test/index.test.js
@@ -13,7 +13,7 @@
// limitations under the License.
import chalk from 'chalk'
-import { test } from 'uvu'
+import { suite } from 'uvu'
import * as assert from 'uvu/assert'
import { inspect } from 'node:util'
import { Writable } from 'node:stream'
@@ -21,6 +21,8 @@ import { Socket } from 'node:net'
import { ProcessPromise } from '../build/index.js'
import '../build/globals.js'
+const test = suite('index')
+
$.verbose = false
test('only stdout is used during command substitution', async () => {