chore: remove temporary H5 cache diagnostics
This commit is contained in:
@@ -51,7 +51,7 @@ void main() {
|
||||
test('rewrites legacy H5 host main-frame URLs to the canonical host', () {
|
||||
final uri = Uri.parse(
|
||||
AppConfig.canonicalizeMainFrameUrl(
|
||||
'https://h5-im.imharry.work/login?from=runtime'
|
||||
'https://h5-test.imharry.work/login?from=runtime'
|
||||
'&shell_app_name=Old#shell_app_logo=old',
|
||||
),
|
||||
);
|
||||
@@ -60,7 +60,6 @@ void main() {
|
||||
expect(uri.host, 'h5-im.imharry.work');
|
||||
expect(uri.path, '/login');
|
||||
expect(uri.queryParameters['from'], 'runtime');
|
||||
expect(uri.queryParameters.containsKey('_h5_t'), isTrue);
|
||||
expect(uri.queryParameters.containsKey('shell_app_name'), isFalse);
|
||||
expect(Uri.splitQueryString(uri.fragment).containsKey('shell_app_logo'),
|
||||
isFalse);
|
||||
|
||||
Reference in New Issue
Block a user