Skip to content

Commit ba4e84a

Browse files
committed
fix some bug and change the ‘e ''至' to到'
1 parent 1f28079 commit ba4e84a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ export const mapText = {
104104
},
105105
zh_CN: {
106106
from: '从',
107-
to: ''
107+
to: ''
108108
}
109109
};

test/components/year-content.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('<YearContent />', () => {
4242
expect(wrapper.find('span').text()).toEqual('From');
4343

4444
expect(wrapper.find('time')).toHaveLength(2);
45-
expect(wrapper.find('time').text().includes('2021')).toBeTruthy();
45+
expect(wrapper.find('time').text().includes('2022')).toBeTruthy();
4646
expect(wrapper.find('time').text().includes('08/21/2019')).toBeTruthy();
4747
});
4848

0 commit comments

Comments
 (0)