chore: update workflow
parent
c325f246cf
commit
ecc755b084
|
@ -41,16 +41,15 @@ jobs:
|
|||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
- name: Checkout submodules
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: tangjinzhou/antdv-demo
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
path: antdv-demo
|
||||
submodules: true
|
||||
# with:
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# - name: Checkout submodules
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# repository: tangjinzhou/antdv-demo
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# path: antdv-demo
|
||||
# submodules: true
|
||||
|
||||
- name: restore cache from package-lock.json
|
||||
uses: actions/cache@v1
|
||||
|
|
|
@ -97,16 +97,16 @@ jobs:
|
|||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
- name: Checkout submodules
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: tangjinzhou/antdv-demo
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
path: antdv-demo
|
||||
submodules: true
|
||||
# with:
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# - name: Checkout submodules
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# repository: tangjinzhou/antdv-demo
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# path: antdv-demo
|
||||
# submodules: true
|
||||
|
||||
- name: restore cache from package-lock.json
|
||||
uses: actions/cache@v1
|
||||
|
|
|
@ -19,7 +19,7 @@ describe('Slider', () => {
|
|||
await asyncExpect(() => {
|
||||
expect(document.body.innerHTML).toMatchSnapshot();
|
||||
wrapper.findAll('.ant-slider-handle')[0].trigger('mouseleave');
|
||||
});
|
||||
}, 0);
|
||||
await asyncExpect(() => {
|
||||
expect(document.body.innerHTML).toMatchSnapshot();
|
||||
}, 0);
|
||||
|
|
Loading…
Reference in New Issue