mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
[Improvement] Contact: optimize background image (#972)
This commit is contained in:
@@ -360,13 +360,9 @@ describe('Sku', (done) => {
|
||||
wrapper.vm.$nextTick(() => {
|
||||
buyBtn.trigger('click');
|
||||
wrapper.vm.$nextTick(() => {
|
||||
const toastText = document.querySelector('.van-toast div');
|
||||
expect(toastText.textContent).to.equal('商品已经无法购买啦');
|
||||
|
||||
const plusBtn = wrapper.find('.van-stepper__plus')[0];
|
||||
plusBtn.trigger('click');
|
||||
wrapper.vm.$nextTick(() => {
|
||||
expect(toastText.textContent).to.equal('库存不足');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user