Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged jestjs
0
votes
533
views
1
answer
jestjs - Yarn test hangs when one more tests file is added
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)
jestjs
0
votes
445
views
1
answer
jestjs - How does one access state on a nested React component wrapped by an HOC?
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)
jestjs
0
votes
948
views
1
answer
jestjs - jest global variable example
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)
jestjs
0
votes
1.2k
views
1
answer
jestjs - How does jest --findRelatedTests work under the hood?
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)
jestjs
0
votes
396
views
1
answer
jestjs - How to use Jest with React Native
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)
jestjs
0
votes
828
views
1
answer
jestjs - Loose match one value in jest.toHaveBeenCalledWith
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)
jestjs
0
votes
686
views
1
answer
jestjs - Jest createSpyObj
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)
jestjs
0
votes
1.5k
views
1
answer
jestjs - testing private functions in typescript with jest
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)
jestjs
0
votes
733
views
1
answer
jestjs - How do I run a single test using Jest?
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)
jestjs
0
votes
376
views
1
answer
jestjs - Create React App doesn't properly mock modules from __mocks__ directory
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)
jestjs
0
votes
1.4k
views
1
answer
jestjs - Testing MutationObserver with Jest
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)
jestjs
0
votes
1.2k
views
1
answer
jestjs - Jest gives an error: "SyntaxError: Unexpected token export"
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)
jestjs
0
votes
818
views
1
answer
jestjs - How to run Jest tests sequentially?
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)
jestjs
0
votes
524
views
1
answer
jestjs - Console.log statements output nothing at all in Jest
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)
jestjs
0
votes
497
views
1
answer
jestjs - How can I clear the Jest cache?
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)
jestjs
0
votes
913
views
1
answer
jestjs - Mocking `document` in jest
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)
jestjs
Page:
1
2
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] 如何通过正则获取字符串中匹配的字符
[2] How to iterate through json files in folder and convert them to csv files in python?
[3] 有什么前后端一体化的框架?
[4] 为什么下载了css-loader和style-loader之后还说我没有合适的loader去加载?
[5] swiftui - Weird behavior when mixing NavigationView and TabView
[6] c# - WinDbg "invalid access to memory location" - InitializeProcThreadAttributeList
[7] macos - Unable to find projects on edgeSDK Oauth Tool
[8] c# - How to map JsonPatchDocument using Mapster?
[9] 调用window.print()方法,如何获取打印完成的回调事件?
[10] Springboot 项目cpu占用高
2.1m
questions
2.1m
answers
60
comments
56.9k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...