test: use module alias instead of relative path

This commit is contained in:
unix
2020-04-18 13:24:11 +08:00
parent 0f1f3326e1
commit 638ec03903
13 changed files with 21 additions and 16 deletions

View File

@@ -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', () => {