mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 17:48:13 +00:00
18 lines
433 B
TypeScript
18 lines
433 B
TypeScript
import test from 'ava';
|
|
import parse from '../src';
|
|
import { IMaterializeOptions } from '../src/types';
|
|
import { getFromFixtures } from './helpers';
|
|
|
|
const fusionComptPath = getFromFixtures('fusion-next-component');
|
|
|
|
test('fusion next component by local', async t => {
|
|
const options: IMaterializeOptions = {
|
|
entry: fusionComptPath,
|
|
accesser: 'local',
|
|
};
|
|
|
|
const actual = await parse(options);
|
|
|
|
t.snapshot(actual);
|
|
});
|