mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-28 20:25:29 +08:00
test: use module alias instead of relative path
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
import { mount, render } from 'enzyme'
|
||||
import { User } from '../../index'
|
||||
import { User } from 'components'
|
||||
|
||||
describe(' User', () => {
|
||||
it('should render correctly', () => {
|
||||
|
||||
Reference in New Issue
Block a user