mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-24 04:15:54 +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 { Code } from '../../index'
|
||||
import { Code } from 'components'
|
||||
|
||||
describe('Code', () => {
|
||||
it('should render correctly', () => {
|
||||
|
||||
Reference in New Issue
Block a user