How to use the jest-jasmine2/build/jasmine-async.js.install function in jest-jasmine2

To help you get started, we’ve selected a few jest-jasmine2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github michaelbull / aurelia-typescript-webpack-starter / test / karma-setup.ts View on Github external
import 'aurelia-loader-default';
import { initialize } from 'aurelia-pal-browser';
import 'aurelia-polyfills';
import { install as installJasmineAsync } from 'jest-jasmine2/build/jasmine-async.js';

initialize();
installJasmineAsync(global);

Error.stackTraceLimit = Infinity;

jest-jasmine2

MIT
Latest version published 1 year ago

Package Health Score

82 / 100
Full package analysis