release: prepare August 1 Android RC
This commit is contained in:
@@ -559,7 +559,7 @@ test('五个主管页面登录都使用 redirectTo 避免返回栈重复', () =>
|
||||
];
|
||||
|
||||
pages.forEach((source) => {
|
||||
const goLogin = source.match(/const goLogin = \(\) => \{\n[\s\S]*?\n\};/)?.[0] || '';
|
||||
const goLogin = source.match(/const goLogin = \(\) => \{\r?\n[\s\S]*?\r?\n\};/)?.[0] || '';
|
||||
assert.match(goLogin, /rememberLoginRedirect\(/);
|
||||
assert.match(goLogin, /uni\.redirectTo\(\{ url: '\/pages\/auth\/login\/index' \}\)/);
|
||||
assert.doesNotMatch(goLogin, /uni\.navigateTo\(/);
|
||||
|
||||
Reference in New Issue
Block a user