@morgan-stanley/ts-mocking-bird

v1.2.4
A fully type safe mocking, call verification and import replacement library for jasmine and jest

clean

rimraf dist reports ../build ../install ../packages docs

build

tsc -p main/tsconfig.json

postbuild

npm run copy

copy

copyfiles main/**/*.html main/**/*.css main/**/*.jpg dist

prebuild-release

npm run clean && npm run verify-release

verify-release

npm run build && concurrently --kill-others-on-fail npm:lint npm:test npm:test:jest

build-release

typedoc main/index.ts

watch-build

tsc --watch -p main/tsconfig.json

test

karma start --singleRun --browsers ChromeHeadlessNoSandbox

test:karma

karma start --singleRun --browsers ChromeHeadlessNoSandbox

test:jest

jest

lint

eslint . --ext .ts,.js

watch-test

karma start --no-coverage

watch-test:jest

jest --watch

watch-test-coverage

karma start

lint:fix

eslint . --ext .ts,.js --fix

compatibility-test

npx tsc spec/ts-compat-test.ts --noEmit --skipLibCheck --watch
npm i @morgan-stanley/ts-mocking-bird

Metadata

Downloads