blove / ngrx-testing Goto Github PK
View Code? Open in Web Editor NEWTesting NgRx with jest and jasmine-marbles
Testing NgRx with jest and jasmine-marbles
Hi,
I used your blog post and this repo when trying to place jest in a ng new app
(v6). Following your instruction, my app did not work - and when comparing the source and config files between yours and mine, the only differences were somewhere around module: es5, commonjs - however - when I copied those into my app, it did not help.
My jest refused to work until I put:
transformIgnorePatterns: [
"node_modules/(?!@ngrx|angular2-ui-switch|ng-dynamic)"
],
into my jest.config.js
This is a piece of code I could not find in your repo. Would you mind shedding some light on me as per why my app actually needs it?
I just cloned the repo, did an npm install, but I get a linting error anytime you use toBeObservable
:
Property 'toBeObservable' does not exist on type 'Matchers<void>'.
do you see this too or do I have something weird on my machine?
The link should be https://slides.com/blove/ngrx-testing-jasmine-marbles#/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.