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 { render, mount } from 'enzyme'
import { Capacity } from '../../index'
import { Capacity } from 'components'
describe('Capacity', () => {
it('should render value correctly', () => {