@askui/askui-jest-xray-environment
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @askui/askui-jest-xray-environment

Weekly Downloads

55

Version

1.0.0

License

MIT

Unpacked Size

7.66 kB

Total Files

11

Last publish

Collaborators

  • programmnix-askui
  • mlikasam
  • johannesdienst-askui
  • adi-wan