Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged jestjs

0 votes
535 views
1 answer
    I'm running a project that has several test suites (Jest), all passing locally. I have a step in my CircleCI ... What am I overlooking? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
450 views
1 answer
    I'm using Enzyme, and we can actually use the example component given in the docs as a foundation for my ... help would be greatly appreciated! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
979 views
1 answer
    Can someone give an example on how to use jest globals? { ... "jest": { "globals": { "__DEV__": ... where the globals should be defined? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Find and run the tests that cover a space separated list of source files that were passed in as arguments. ... cache when finding related tests? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
399 views
1 answer
    The testing section of the docs for React Native suggest that Jest is the official way to do unit tests. ... like I'm missing something! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    I have an analytics tracker that will only call after 1 second and with an object where the intervalInMilliseconds ( ... useful for my use-case. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
691 views
1 answer
    With Chai, you can create a spy object as follows: chai.spy.object([ 'push', 'pop' ]); With jasmine, you ... be found in the docs about this. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    In the below code my test case was passed as expected but i am using stryker for mutation testing , handleError function ... ) } }); }); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
739 views
1 answer
    I have a test 'works with nested children' within the file fix-order-test.js. Running the below runs all ... jest 'works with nested children' See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
381 views
1 answer
    I have a working example with Jest and mocks from __mocks__ directory that works : With simple Jest setup // ... App. What's the problem? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I wrote a script with the main purpose of adding new elements to some table's cells. The test is done with ... ? Except manually, that is :) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm using Jest to test my React app. Recently, I added DeckGL to my app. My tests fail with this error: ... . So any ideas whats going wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    I'm running Jest tests via npm test. Jest runs tests in parallel by default. Is there any way to ... changing the current working directory. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
530 views
1 answer
    console.log statements output nothing at all in Jest. This was working for me yesterday, and all of sudden, ... . Still seeing this issue. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
500 views
1 answer
    Jest is picking up an old version of a package and thus my tests fail unless I use --no-cache. I can even ... how do I clear the Jest cache? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
922 views
1 answer
    I'm trying to write tests for my web components projects in jest. I already use babel with es2015 preset. I ... by setting document as global. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...