[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions
+29
View File
@@ -0,0 +1,29 @@
import { mount } from '../../../test/utils';
import Steps from '..';
import Step from '../../step';
test('icon slot', () => {
const wrapper = mount({
template: `
<steps :active="1">
<step>
<template v-slot:inactive-icon>Custim Inactive Icon</template>
A
</step>
<step>
<template v-slot:active-icon>Custim Active Icon</template>
B
</step>
<step>
<template v-slot:inactive-icon>Custim Inactive Icon</template>
C
</step>
</steps>
`,
components: {
Steps,
Step
}
});
expect(wrapper).toMatchSnapshot();
});