-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwasm-testing-helpers.ts
More file actions
31 lines (29 loc) · 1.5 KB
/
wasm-testing-helpers.ts
File metadata and controls
31 lines (29 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Shopify Functions WASM Testing Helpers
*
* A library for testing Shopify Functions WASM modules, particularly
* cart-checkout-validation functions.
*/
// Import all methods from separate files
export { loadFixture } from "./methods/load-fixture.js";
export { loadSchema } from "./methods/load-schema.js";
export { loadInputQuery } from "./methods/load-input-query.js";
export { buildFunction } from "./methods/build-function.js";
export { runFunction } from "./methods/run-function.js";
export { getFunctionInfo } from "./methods/get-function-info.js";
export { validateTestAssets } from "./methods/validate-test-assets.js";
export { validateInputQuery } from "./methods/validate-input-query.js";
export { validateFixtureOutput } from "./methods/validate-fixture-output.js";
export { validateFixtureInput } from "./methods/validate-fixture-input.js";
// Export types for consumers
export type { FixtureData } from "./methods/load-fixture.js";
export type { BuildFunctionResult } from "./methods/build-function.js";
export type { RunFunctionResult } from "./methods/run-function.js";
export type { FunctionInfo } from "./methods/get-function-info.js";
export type {
ValidateTestAssetsOptions,
CompleteValidationResult,
} from "./methods/validate-test-assets.js";
export type { OutputValidationResult } from "./methods/validate-fixture-output.js";
export type { MutationTarget } from "./utils/determine-mutation-from-target.js";
export type { ValidateFixtureInputResult } from "./methods/validate-fixture-input.js";