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

35 lines
478 B
Plaintext
Raw Normal View History

2019-04-30 11:11:25 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
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>
`;