优化
This commit is contained in:
@@ -8,7 +8,7 @@ test('domestic workbench exposes a real one-click dropship palletization entry',
|
||||
const [data, home, modulePage, pages] = await Promise.all([
|
||||
read('../data/demo-data.js'), read('../pages/home/home.vue'), read('../pages/module/module.vue'), read('../pages.json')
|
||||
])
|
||||
assert.match(data, /name: '一件代发合托'[\s\S]*?available: true/)
|
||||
assert.match(data, /key: 'inbound'[\s\S]*?name: '一件代发合托'[\s\S]*?available: true, visible: true/)
|
||||
assert.match(home, /'一件代发合托': '\/pages\/dropship-tasks\/dropship-tasks'/)
|
||||
assert.match(modulePage, /'一件代发合托': '\/pages\/dropship-tasks\/dropship-tasks'/)
|
||||
assert.match(pages, /pages\/dropship-tasks\/dropship-tasks/)
|
||||
|
||||
Reference in New Issue
Block a user