腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9786)
视频
沙龙
1
回答
使用
redux-saga-
Test
-
plan
测试
redux-saga
延迟
量
redux-saga
、
redux-saga-test-plan
背景 我有一个
使用
Redux-saga
's delay() effect的传奇故事中内置的“渐进式回退”。 我
使用
来自redux-saga-
test
-
plan
的expectSaga来编写
测试
。但顺序是to get the
test
to work I had to disable the delay。 问题
测试
延迟
量
的最佳方法是什么?`, );
浏览 18
提问于2019-03-08
得票数 1
1
回答
我的reducer应该处理@@redux-saga-
test
-
plan
/INIT操作吗?
redux
、
redux-saga
、
redux-saga-test-plan
我正在
使用
redux-saga-
test
-
plan
来
测试
我的
redux-saga
传奇。在调试我的
测试
时,我注意到我的reducer收到了一个意外的操作,
使用
type === "@@redux-saga-
test
-
plan
/INIT"。我在
redux-saga-
@@redux-saga-
test
-
plan
/INIT -
plan</em
浏览 43
提问于2019-01-31
得票数 0
3
回答
如何
测试
剩余佐贺
延迟
reactjs
、
redux
、
redux-saga
、
saga
问题我希望考试能通过。);这是我的sagas.
test
.jsimport { incrementAsync } from '../sagas'; describe('
浏览 0
提问于2018-03-13
得票数 14
回答已采纳
1
回答
无法找到如何
使用
redux-saga-
test
-
plan
测试
redux-saga
函数。
unit-testing
、
redux
、
jestjs
、
redux-saga
、
redux-saga-test-plan
我在教自己如何
使用
redux-saga
,同时也教自己单元
测试
,特别是Jest。我从redux- saga的文档中提取了一个样本传奇,在这里: .next() // This should
test
'authorizeWit
浏览 2
提问于2016-11-23
得票数 4
回答已采纳
1
回答
使用
Redux Saga
测试
计划库
测试
延迟
函数的
redux-saga
时出错
javascript
、
reactjs
、
redux-saga
、
redux-saga-test-plan
我试图通过
使用
Redux
测试
计划库来
测试
我的Redux函数,而且由于我的saga中的
延迟
函数,我被困住了。import * as matchers from 'redux-saga-
test
-
plan
/matchers'; import { expectSaga} fr
浏览 3
提问于2019-05-27
得票数 1
回答已采纳
2
回答
带
redux-saga
的叉形剩余-
测试
计划
reactjs
、
redux
、
jestjs
、
redux-saga
我正在尝试用
redux-saga
测试
计划库来
测试
我的redux-sagas,以使事情变得更简单。所有的
测试
都在一个滑稽的环境中运行。(更新):import { call, put, takeLatest, takeEvery } from"
redux-saga
/effects"; import menuSaga from
浏览 1
提问于2018-03-22
得票数 4
1
回答
使用
重新选择选择器时无法提供/
测试
saga
reactjs
、
reselect
、
react-boilerplate
、
redux-saga-test-plan
我已经
使用
redux-saga-
test
-
plan
编写了一些
redux-saga
测试
,但是在尝试向expectSaga
测试
提供一些selects来伪造一些值时遇到了一些问题。该项目正在
使用
react-boilerplate模板。export function* categoriseA() { const sk
浏览 33
提问于2019-07-24
得票数 2
1
回答
用while循环
测试
redux saga和用
redux-saga
测试
计划
延迟
reactjs
、
react-redux
、
redux-saga
、
redux-saga-test-plan
我不知道如何
使用
redux-saga-
测试
计划来
测试
这个。import { put, delay, takeLatest } from "
redux-saga
/effects"; import { incrementProgress } from "..
浏览 6
提问于2020-07-25
得票数 2
1
回答
如何
使用
redux-saga-
test
-
plan
测试
所有效果。所有效果都不匹配
javascript
、
unit-testing
、
redux
、
redux-saga
、
redux-saga-test-plan
我有一个生成器,我想用单元
测试
来覆盖它。-
plan
写了一个简单的
测试
import {expectSaga, testSaga} from 'redux-saga-
test
-
plan
';import {takeEvery, takeLatest} from '@
redux-saga
/core/e
浏览 41
提问于2021-09-20
得票数 0
1
回答
测试
具有api调用的
redux-saga
函数
reactjs
、
redux
、
redux-saga
Redux-saga
put, fork, takeLatest, call,import { GET_DATA_SAGAtakeLatest(GET_DATA_SAGA, getData); yield fork(watchData);我怎样才能
测试
这个函数我看到了一些指南,但我并没有偶然发现一个不复杂的单元
测试
。 到目前为止,这是我的
浏览 0
提问于2019-07-22
得票数 1
回答已采纳
1
回答
redux返回SagaTestError:在检查api调用时未满足期望
reactjs
、
integration-testing
、
redux-saga
、
redux-saga-test-plan
我正在
使用
测试
一个简单的redux函数,get posts
测试
将返回一个失败put expectation unmet: -------- combinator: false, payload: { channel: undefined, action: {type: 'GET_POSTS_INIT' } }
浏览 9
提问于2020-05-30
得票数 2
回答已采纳
1
回答
redux saga单元
测试
预期但收到深度相等错误
reactjs
、
redux
、
redux-saga
当单元
测试
redux中的简单api调用时,会得到此错误。我的特性>
测试
api调用import {} from '
redux-saga
/effects'
浏览 2
提问于2019-07-22
得票数 0
回答已采纳
2
回答
单元
测试
的意义是什么?
unit-testing
、
redux-saga
为了获得我的Saga文件100%的覆盖率,我正在研究如何
测试
观察者。// saga.js import { takeEvery, call, put } from
浏览 12
提问于2017-03-06
得票数 14
回答已采纳
1
回答
以带有redux-saga-
test
-
plan
的断言作为模式提供的“采取效果不匹配”错误的函数。
javascript
、
unit-testing
、
redux
、
redux-saga
、
redux-saga-test-plan
我想
测试
一个传奇,它产生了一个以函数作为模式的take效果。> action.type === myAction.type, return actionType === myAction.type;
使用
的
测试
如下: testSaga(mySaga, { type: 'myActionType' }).next().take().next().
浏览 3
提问于2020-08-21
得票数 1
回答已采纳
1
回答
redux-saga-
测试
计划失败的断言与准确的预期和实际
reactjs
、
axios
、
redux-saga
、
redux-saga-test-plan
我有一个createPostSaga,POST对我的API进行了
测试
,我正在尝试
测试
它。title", content: "
test
content", thumbnail: "http://fail",
浏览 0
提问于2018-11-22
得票数 1
1
回答
开玩笑的
测试
不会等到传奇故事结束
reactjs
、
testing
、
jestjs
、
redux-saga
用于
测试
的玩笑,
Redux-Saga
export function* callCreateTemplate({payload}){ ...yield delay(1500)}it('...'), async () => { ...问题是,当我删除saga中的
延迟
(1500)时,
测试</
浏览 3
提问于2022-04-07
得票数 0
回答已采纳
1
回答
Apache Kafka制作人吞吐
量
和
延迟
apache-kafka
、
performance-testing
、
latency
、
throughput
我在我的本地机器上做了一个Kafka集群,我正在
测试
用不同的吞吐
量
创建生产者,看看
延迟
会发生什么。
Test
2: 200 Throughput
Test
4: 20,
浏览 6
提问于2022-11-23
得票数 0
回答已采纳
1
回答
如何
测试
位于saga文件(
使用
jest文件)内的生成器函数中的产出
延迟
(Some_delay)?
javascript
、
jestjs
、
redux-saga
、
redux-saga-test-plan
生成器函数如下所示: function* handleCall(){ yield put(act.call()); } 我想在
test
.js文件中
测试
延迟
浏览 43
提问于2020-08-20
得票数 1
1
回答
使用
redux-saga-
test
-
plan
,我有一个将函数作为参数的分派操作。这使得
测试
总是失败。
javascript
、
jestjs
、
redux-saga
、
redux-saga-test-plan
yield put(displayInfoNotification("Task marked cancelled", restoreActions, viewLink)) 这就是
测试
Function], at node_modules/redux-saga-
test
-
plan
/lib/expectSaga/exp
浏览 26
提问于2021-05-05
得票数 0
回答已采纳
1
回答
如何用
redux-saga
测试
计划
测试
选择器函数
javascript
、
redux
、
redux-saga
、
redux-saga-test-plan
我正在
测试
我的剩余-传奇流,我有一个问题,
测试
选择方法与选择。data) { } ...流量试验对于单元
测试
,同样的方法不起作用。
test
("Unit <
浏览 6
提问于2021-12-02
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
按图索骥:SQL中数据倾斜问题的处理思路与方法
JMeter介绍
Python 爬虫,推荐一款简单的抓包工具
大神学习笔记:QC的使用
以调试形式,深入理解凤凰全局索引
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券