mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +00:00
17 lines
414 B
TypeScript
17 lines
414 B
TypeScript
import test from 'ava';
|
|
import parse from '../src';
|
|
import { IMaterializeOptions } from '../src/types';
|
|
import { getFromFixtures } from './helpers';
|
|
|
|
const antdComptPath = getFromFixtures('antd-component');
|
|
|
|
test('antd component by local', async t => {
|
|
const options: IMaterializeOptions = {
|
|
entry: antdComptPath,
|
|
accesser: 'local',
|
|
};
|
|
|
|
const actual = await parse(options);
|
|
|
|
t.snapshot(actual);
|
|
}); |