优化
This commit is contained in:
@@ -16,6 +16,8 @@ test('does not accept browser-selected customer or user scope in the API boundar
|
||||
assert.doesNotMatch(source, /tenantId|customerId|merchantId|userId/)
|
||||
assert.match(source, /merchant\/v1\/notifications/)
|
||||
assert.match(source, /unread-count/)
|
||||
assert.match(source, /notifications\/\$\{encodeURIComponent\(id\)\}/)
|
||||
assert.match(source, /notifications\/\$\{encodeURIComponent\(id\)\}\/read/)
|
||||
assert.match(source, /read-all/)
|
||||
assert.match(source, /category: query\.type/)
|
||||
assert.match(source, /method: 'PUT'/)
|
||||
@@ -31,4 +33,6 @@ test('keeps customer message actions first and covers the requested local states
|
||||
assert.match(source, /标为已读/)
|
||||
assert.match(source, /state-panel--error/)
|
||||
assert.match(source, /暂无消息/)
|
||||
assert.doesNotMatch(source, /清空已读|删除消息/)
|
||||
assert.match(source, /Promise\.all\(\[load\(\), notifications\.refreshUnreadCount\(\)\]\)/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user