@askui/askui-jest-xray-environment
v1.0.0
Published
Jest environment for use with AskUIXRayStepReporter
Downloads
292
Readme
askui-jest-xray-environment
Jest environment for use with AskUIXRayStepReporter
🏗️ Configuration
Configure this jest-environment
in jest.config.ts
like this:
import type { Config } from "@jest/types";
const config: Config.InitialOptions = {
preset: "ts-jest",
setupFilesAfterEnv: ["./helper/askui-helper.ts"], // former `./helper/jest.setup.ts`
sandboxInjectedGlobals: ["Math"],
testEnvironment: "@askui/jest-xray-environment",
};
// eslint-disable-next-line import/no-default-export
export default config;
🧱 Build New Release
cd askui-jest-xray-environment
npm config set scope askui
npm config set access public
npm login
npm run release