mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
10 lines
306 B
JavaScript
10 lines
306 B
JavaScript
|
import { NodeType } from '@metamask/snaps-ui';
|
||
|
import { UI_MAPPING } from './snap-ui-renderer';
|
||
|
|
||
|
describe('Snap UI mapping', () => {
|
||
|
it('supports all exposed components', () => {
|
||
|
const nodes = Object.values(NodeType);
|
||
|
expect(Object.keys(UI_MAPPING).sort()).toStrictEqual(nodes.sort());
|
||
|
});
|
||
|
});
|