We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e00186c commit 0f322f1Copy full SHA for 0f322f1
1 file changed
test/utils/test-helpers.d.mts
@@ -1,5 +1,14 @@
1
/** @fileoverview TypeScript declaration for test-helpers.mjs module. */
2
3
+interface IsolatePackageOptions {
4
+ entryPoints?: string[]
5
+}
6
+
7
+interface IsolatePackageResult<T = unknown> {
8
+ pkgPath: string
9
+ modules?: T[]
10
11
12
interface MultiEntryTestResult<T = unknown> {
13
pkgPath: string
14
modules: T[]
@@ -9,6 +18,11 @@ interface TestResult {
18
19
}
20
21
+export declare function isolatePackage<T = unknown>(
22
+ packageOrPath: string,
23
+ options?: IsolatePackageOptions,
24
+): Promise<IsolatePackageResult<T>>
25
26
export declare function setupMultiEntryTest<T = unknown>(
27
sockRegPkgName: string,
28
entryPoints: string[],
0 commit comments