browsermation 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { Readable } from 'node:stream';
2
+ /**
3
+ * The main function that orchestrates zipping and uploading.
4
+ * @param folderPath The path to the folder to process.
5
+ * @param testFiles The list of test files to include in the upload.
6
+ */
7
+ export declare function zip(folder: string, testFiles: string[]): Promise<Buffer>;
8
+ export declare function upload(zipBuffer: Buffer, shardNumber: number, totalShards: number, playwrightConfig: object, options: object, eventStream: Readable): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { PlaywrightTestConfig } from 'playwright/test';
2
+ export declare function defineConfig<T>(config: PlaywrightTestConfig<T>): Promise<PlaywrightTestConfig<T>>;
@@ -0,0 +1 @@
1
+ export declare function compileFileUsingEsbuild(folder: string, filepath: string): Promise<unknown>;
package/dist/http.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare function downloadFile(fileUrl: string, outputLocationPath: string): Promise<unknown>;
@@ -0,0 +1,2 @@
1
+ export { defineConfig } from './defineConfig';
2
+ export { test } from './test';