tee-mo-core
Version:
168 lines (167 loc) • 6.78 kB
HTML
<html lang="en">
<head>
<title>Code coverage report for src/error.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../prettify.css" />
<link rel="stylesheet" href="../base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='text/css'>
.coverage-summary .sorter {
background-image: url(../sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class='wrapper'>
<div class='pad1'>
<h1>
<a href="../index.html">All files</a> / <a href="index.html">src</a> error.js
</h1>
<div class='clearfix'>
<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Statements</span>
<span class='fraction'>0/8</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Branches</span>
<span class='fraction'>0/0</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Functions</span>
<span class='fraction'>0/8</span>
</div>
<div class='fl pad1y space-right2'>
<span class="strong">0% </span>
<span class="quiet">Lines</span>
<span class='fraction'>0/8</span>
</div>
</div>
</div>
<div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35</td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-no"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">export default {
NOT_DEFINED_NAMESPACE: <span class="fstat-no" title="function not covered" >()</span> => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.model] 应该定义 namespace`,
EN: `[teeMo.model] namespace should be defined`
}),
NAMESPACE_TYPE_SHOULD_BE_STRING: <span class="fstat-no" title="function not covered" >(t</span>ype) => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.model] namespace必须是string类型,当前namespace的类型是 [${type}]`,
EN: `[teeMo.model] namespace should be string,the current namespace type is [${type}]`
}),
NAMESPACE_SHOULD_BE_UNIQUE: <span class="fstat-no" title="function not covered" >()</span> => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.model] namespace必须唯一`,
EN: `[teeMo.model] namespace should be unique`
}),
REDUCERS_BE_PLAIN_OBJECT: <span class="fstat-no" title="function not covered" >(t</span>ype) => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.model] reducers必须是一个普通的javaScript对象,当前的reducer的类型是 [${type}]`,
EN: `[teeMo.model] reducers should be plain object,the current reducer type is [${type}]`
}),
EFFECTS_BE_PLAIN_OBJECT: <span class="fstat-no" title="function not covered" >(t</span>ype) => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.model] effects必须是一个普通的javaScript对象,当前的effect的类型是 [${type}]`,
EN: `[teeMo.model] effects should be plain object,the current effect type is [${type}]`
}),
CAN_NOT_BE_DEL_DEFAULT_MODEL: <span class="fstat-no" title="function not covered" >(n</span>amespace) => (<span class="cstat-no" title="statement not covered" >{</span>
CN: `[teeMo.delModel] 不可以删除一个系统默认的model , 当前传入期望删除的model的namespace为 [${namespace}] `,
EN: `[teeMo.delModel] cannot delete a system default model; the namespace of the model that is currently passed in to be deleted is [${namespace}]`
}),
STORE_IS_NOT_STARTED:<span class="fstat-no" title="function not covered" >()</span> => (<span class="cstat-no" title="statement not covered" >{</span>
CN:`[teeMo.Store] 数据仓库尚未启动!`,
EN:`[teeMo.Store] the data warehouse has not started yet!`
}),
STORE_IS_STARTED:<span class="fstat-no" title="function not covered" >()</span> => (<span class="cstat-no" title="statement not covered" >{</span>
CN:`[teeMo.Store] 数据仓库已经启动!`,
EN:`[teeMo.Store] the data warehouse has started!`
})
}</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Jul 05 2018 15:20:23 GMT+0800 (CST)
</div>
</div>
<script src="../prettify.js"></script>
<script>
window.onload = function () {
if (typeof prettyPrint === 'function') {
prettyPrint();
}
};
</script>
<script src="../sorter.js"></script>
</body>
</html>