amis/__tests__/__snapshots__/factory.test.tsx.snap

43 lines
571 B
Plaintext
Raw Normal View History

2019-04-30 11:11:25 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
2019-05-18 00:50:23 +08:00
exports[`factory custom loadRenderer 1`] = `
<div>
<div>
Not Found
</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>
`;