Match-id-4c973c693fe820cab95bc74a5230078351fbf402

This commit is contained in:
* 2023-08-03 17:26:28 +08:00
parent 1365e17d83
commit cb68f9dba8
64 changed files with 95 additions and 92 deletions

View File

@ -13,6 +13,8 @@
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
"@babel/plugin-proposal-object-rest-spread": "7.16.7",
"@babel/plugin-proposal-optional-chaining": "7.16.7",
"@babel/plugin-proposal-private-methods": "7.16.7",
"@babel/plugin-proposal-private-property-in-object": "7.16.7",
"@babel/plugin-syntax-jsx": "7.16.7",
"@babel/plugin-transform-arrow-functions": "7.16.7",
"@babel/plugin-transform-block-scoped-functions": "7.16.7",
@ -33,6 +35,7 @@
"@babel/plugin-transform-template-literals": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@babel/runtime": "8.0.0-alpha.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import Inula, { render, useState, act, useEffect } from '../../../libs/inula/index';
import Inula, { render, useState, act, useEffect } from '../../../src/index';
describe('Inula.act function Test', () => {
it('The act can wait for the useEffect update to complete.', function () {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Class refs Test', () => {
it('Parent can get Child instance by refs', function () {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('Component Error Test', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('Context Test', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Diff Algorithm', () => {
it('null should diff correctly', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('ForwardRef', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { Text } from '../jest/commonComponents';
import { getLogUtils } from '../jest/testUtils';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('FunctionComponent Test', () => {
it('渲染无状态组件', () => {
const App = props => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
describe('useCallback Hook Test', () => {
const { useState, useCallback } = Inula;

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
describe('useContext Hook Test', () => {
const { useState, useContext, createContext, act, unmountComponentAtNode } = Inula;

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { getLogUtils } from '../../jest/testUtils';
import { Text } from '../../jest/commonComponents';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { Text } from '../../jest/commonComponents';
import { getLogUtils } from '../../jest/testUtils';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { getLogUtils } from '../../jest/testUtils';
import { Text } from '../../jest/commonComponents';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { getLogUtils } from '../../jest/testUtils';
import { Text } from '../../jest/commonComponents';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
describe('useReducer Hook Test', () => {
const { useReducer } = Inula;

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { getLogUtils } from '../../jest/testUtils';
import { Text } from '../../jest/commonComponents';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { getLogUtils } from '../../jest/testUtils';
import { Text } from '../../jest/commonComponents';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('JSX Element test', () => {
it('symbol attribute prevent cloneDeep unlimited loop', function () {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { Text } from '../jest/commonComponents';
import { getLogUtils } from '../jest/testUtils';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('LifeCycle Test', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Memo Test', () => {
it('Memo should not make the path wrong', function () {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
import dispatchChangeEvent from '../utils/dispatchChangeEvent';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { Text } from '../jest/commonComponents';
import { getLogUtils } from '../jest/testUtils';

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Dom Attribute', () => {
it('属性值为null或undefined时不会设置此属性', () => {

View File

@ -14,7 +14,7 @@
*/
/* eslint-disable @typescript-eslint/no-empty-function */
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('Dom Input', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Dom Select', () => {
it('设置value', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('Dom Textarea', () => {
it('设置value', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import * as TestUtils from '../jest/testUtils';
function dispatchChangeEvent(input) {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('合成焦点事件', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('Keyboard Event', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
describe('mouseenter和mouseleave事件测试', () => {
let container;

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('MouseEvent Test', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from '../jest/testUtils';
describe('合成滚轮事件', () => {

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
describe('测试store中的混合类型变化', () => {

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,9 +14,9 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,8 +14,8 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import { createStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import * as Inula from '../../../../src/index';
import { createStore } from '../../../../src/inulax/store/StoreHandler';
import { triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,11 +14,11 @@
*/
//@ts-ignore
import Inula from '../../../../libs/inula/index';
import Inula from '../../../../src/index';
import { triggerClickEvent } from '../../jest/commonComponents';
import { useLogStore } from './store';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';
import { createStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { createStore } from '../../../../src/inulax/store/StoreHandler';
const { unmountComponentAtNode } = Inula;

View File

@ -13,9 +13,9 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { OBSERVER_KEY } from '../../../../libs/inula/src/inulax/Constants';
import * as Inula from '../../../../src/index';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { OBSERVER_KEY } from '../../../../src/inulax/Constants';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
describe('测试对store.state对象进行深度克隆', () => {

View File

@ -14,7 +14,7 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import { triggerClickEvent } from '../../jest/commonComponents';
import { useLogStore } from './store';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -14,8 +14,8 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import { createStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import * as Inula from '../../../../src/index';
import { createStore } from '../../../../src/inulax/store/StoreHandler';
import { triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -13,8 +13,8 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import { createStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import * as Inula from '../../../../src/index';
import { createStore } from '../../../../src/inulax/store/StoreHandler';
import { triggerClickEvent } from '../../jest/commonComponents';
const { unmountComponentAtNode } = Inula;

View File

@ -1,4 +1,4 @@
import { resolveMutation } from '../../../../libs/inula/src/inulax/CommonUtils';
import { resolveMutation } from '../../../../src/inulax/CommonUtils';
describe('Mutation resolve', () => {
it('should resolve mutation different types', () => {

View File

@ -13,8 +13,8 @@
* See the Mulan PSL v2 for more details.
*/
import { createStore } from '../../../../libs/inula';
import { watch } from '../../../../libs/inula';
import { createStore } from '../../../../src/index';
import { watch } from '../../../../src/index';
describe('watch', () => {
it('shouhld watch primitive state variable', async () => {

View File

@ -14,13 +14,13 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import {
createStore,
applyMiddleware,
combineReducers,
bindActionCreators,
} from '../../../../libs/inula/src/inulax/adapters/redux';
} from '../../../../src/inulax/adapters/redux';
import { describe, it, expect } from '@jest/globals';
describe('Redux adapter', () => {

View File

@ -13,8 +13,8 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import { createStore, applyMiddleware, thunk } from '../../../../libs/inula/src/inulax/adapters/redux';
import * as Inula from '../../../../src/index';
import { createStore, applyMiddleware, thunk } from '../../../../src/inulax/adapters/redux';
import { describe, it, expect } from '@jest/globals';
describe('Redux thunk', () => {

View File

@ -14,7 +14,7 @@
*/
//@ts-ignore
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import {
batch,
connect,
@ -25,10 +25,10 @@ import {
useStore,
createSelectorHook,
createDispatchHook,
} from '../../../../libs/inula/src/inulax/adapters/redux';
} from '../../../../src/inulax/adapters/redux';
import { triggerClickEvent } from '../../jest/commonComponents';
import { describe, it, beforeEach, afterEach, expect } from '@jest/globals';
import { ReduxStoreHandler } from '../../../../libs/inula/src/inulax/adapters/redux';
import { ReduxStoreHandler } from '../../../../src/inulax/adapters/redux';
const BUTTON = 'button';
const BUTTON2 = 'button2';

View File

@ -1,7 +1,7 @@
import { createElement } from '../../../../libs/inula/src/external/JSXElement';
import { createDomTextVNode } from '../../../../libs/inula/src/renderer/vnode/VNodeCreator';
import { createStore } from '../../../../libs/inula/src/inulax/adapters/redux';
import { connect } from '../../../../libs/inula/src/inulax/adapters/reduxReact';
import { createElement } from '../../../../src/external/JSXElement';
import { createDomTextVNode } from '../../../../src/renderer/vnode/VNodeCreator';
import { createStore } from '../../../../src/inulax/adapters/redux';
import { connect } from '../../../../src/inulax/adapters/reduxReact';
createStore((state: number = 0, action): number => {
if (action.type === 'add') return state + 1;

View File

@ -13,11 +13,11 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { Text, triggerClickEvent } from '../../jest/commonComponents';
import { getObserver } from '../../../../libs/inula/src/inulax/proxy/ProxyHandler';
import { getObserver } from '../../../../src/inulax/proxy/ProxyHandler';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';
describe('测试 Class VNode 清除时,对引用清除', () => {

View File

@ -13,9 +13,9 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -13,9 +13,9 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { App, Text, triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -13,11 +13,11 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { Text, triggerClickEvent } from '../../jest/commonComponents';
import { getObserver } from '../../../../libs/inula/src/inulax/proxy/ProxyHandler';
import { getObserver } from '../../../../src/inulax/proxy/ProxyHandler';
import { describe, it, beforeEach, afterEach, expect } from '@jest/globals';
describe('测试 Class VNode 清除时,对引用清除', () => {

View File

@ -13,11 +13,11 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../../libs/inula/index';
import * as Inula from '../../../../src/index';
import * as LogUtils from '../../jest/logUtils';
import { clearStore, createStore, useStore } from '../../../../libs/inula/src/inulax/store/StoreHandler';
import { clearStore, createStore, useStore } from '../../../../src/inulax/store/StoreHandler';
import { Text, triggerClickEvent } from '../../jest/commonComponents';
import { getObserver } from '../../../../libs/inula/src/inulax/proxy/ProxyHandler';
import { getObserver } from '../../../../src/inulax/proxy/ProxyHandler';
import { describe, it, beforeEach, afterEach, expect } from '@jest/globals';
describe('测试VNode清除时对引用清除', () => {

View File

@ -1,4 +1,4 @@
import { createStore, useStore } from '../../../../libs/inula';
import { createStore, useStore } from '../../../../src/index';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';
describe('Using deep variables', () => {

View File

@ -14,7 +14,7 @@
*/
//@ts-ignore
import Inula, { createStore } from '../../../../libs/inula/index';
import Inula, { createStore } from '../../../../src/index';
import { triggerClickEvent } from '../../jest/commonComponents';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';

View File

@ -13,8 +13,8 @@
* See the Mulan PSL v2 for more details.
*/
import { createProxy } from '../../../../libs/inula/src/inulax/proxy/ProxyHandler';
import { readonlyProxy } from '../../../../libs/inula/src/inulax/proxy/readonlyProxy';
import { createProxy } from '../../../../src/inulax/proxy/ProxyHandler';
import { readonlyProxy } from '../../../../src/inulax/proxy/readonlyProxy';
import { describe, beforeEach, afterEach, it, expect } from '@jest/globals';
describe('Proxy', () => {

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
function App() {
return <></>;

View File

@ -14,7 +14,7 @@
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import * as Inula from '../../../libs/inula/index';
import * as Inula from '../../../src/index';
import { getLogUtils } from './testUtils';
export const App = props => {

View File

@ -20,4 +20,4 @@ global.MessageChannel = function MessageChannel() {
postMessage() {},
};
};
global.__VERSION__ = require('../../../libs/inula/package.json').version;
global.__VERSION__ = require('../../../package.json').version;

View File

@ -13,7 +13,7 @@
* See the Mulan PSL v2 for more details.
*/
import { unmountComponentAtNode } from '../../../libs/inula/src/dom/DOMExternal';
import { unmountComponentAtNode } from '../../../src/dom/DOMExternal';
import { getLogUtils } from './testUtils';
const LogUtils = getLogUtils();