Home > harper.js > WorkerLinter > loadWeirpackFromBlob
Load a Weirpack from a Blob via the worker thread.
Returns undefined when the tests pass and the pack is imported, otherwise forwards the failure report back to the caller.
Signature:
loadWeirpackFromBlob(blob: Blob): Promise<WeirpackTestFailures | undefined>;
|
Parameter |
Type |
Description |
|---|---|---|
|
blob |
Blob |
Returns:
Promise<WeirpackTestFailures | undefined>