mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
68 lines
879 B
Plaintext
68 lines
879 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
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`] = `
|
|
<div>
|
|
<div>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`factory load Renderer on need 1`] = `
|
|
<div>
|
|
<div>
|
|
This is Custom Renderer2, a is
|
|
23
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
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>
|
|
`;
|