2019-04-30 11:11:25 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-05-19 18:08:11 +08:00
|
|
|
exports[`factory custom not found 2! 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
Not Found
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`factory custom not found 3! 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
Not Found
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`factory custom not found! 1`] = `
|
2019-05-18 00:50:23 +08:00
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
Not Found
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2019-05-18 01:05:16 +08:00
|
|
|
exports[`factory load Renderer on need 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
This is Custom Renderer2, a is
|
|
|
|
23
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2019-04-30 11:11:25 +08:00
|
|
|
exports[`factory unregistered Renderer 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="Alert Alert--danger"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Error: 找不到对应的渲染器
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Path:
|
|
|
|
my-renderer
|
|
|
|
</p>
|
|
|
|
<pre>
|
|
|
|
<code>
|
|
|
|
{
|
|
|
|
"type": "my-renderer",
|
|
|
|
"a": 23
|
|
|
|
}
|
|
|
|
</code>
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`factory:registerRenderer 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
This is Custom Renderer, a is
|
|
|
|
23
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|