diff --git a/test-d/core.test-d.ts b/test-d/core.test-d.ts index cadbf783bb..200f35fa2f 100644 --- a/test-d/core.test-d.ts +++ b/test-d/core.test-d.ts @@ -15,7 +15,7 @@ import assert from 'node:assert' import { Readable, Writable } from 'node:stream' import { expectType } from 'tsd' -import { $, ProcessPromise, ProcessOutput, within } from '../src/core.js' +import { $, ProcessPromise, ProcessOutput, within } from 'zx' let p = $`cmd` assert(p instanceof ProcessPromise) diff --git a/test-d/experimental.test-d.ts b/test-d/experimental.test-d.ts deleted file mode 100644 index c098ddb313..0000000000 --- a/test-d/experimental.test-d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import { expectType } from 'tsd' diff --git a/test-d/globals.test-d.ts b/test-d/globals.test-d.ts index 7fe79aa8c6..317ce2bbf7 100644 --- a/test-d/globals.test-d.ts +++ b/test-d/globals.test-d.ts @@ -14,7 +14,9 @@ import assert from 'node:assert' import { expectType } from 'tsd' -import '../src/globals.js' +import 'zx/globals' + +glob let p = $`cmd` assert(p instanceof ProcessPromise) diff --git a/test-d/goods.test-d.ts b/test-d/goods.test-d.ts index 14cd1afda0..e82a4dac79 100644 --- a/test-d/goods.test-d.ts +++ b/test-d/goods.test-d.ts @@ -13,8 +13,7 @@ // limitations under the License. import { expectType } from 'tsd' -import { $ } from '../src/core.js' -import { echo, sleep, spinner, retry, expBackoff } from '../src/goods.js' +import { $, echo, sleep, spinner, retry, expBackoff } from 'zx' echo`Date is ${await $`date`}` echo('Hello, world!')