mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
chore: update tslint rules (#7391)
This commit is contained in:
@ -11,6 +11,7 @@ function getViewComponent(componentModule: string) {
|
||||
const moduleNamePath = path.join(testDir, componentModule);
|
||||
const fileName = path.join(testDir, `${componentModule}.xml`);
|
||||
const view = _loadPage(moduleNamePath, fileName);
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@ -29,5 +30,5 @@ export function test_view_is_NOT_module_root_component() {
|
||||
|
||||
export function test_load_component_from_missing_module_throws() {
|
||||
assertThrows(() => getViewComponent(MISSING_MODULE),
|
||||
"Loading component from a missing module SHOULD throw an error.")
|
||||
"Loading component from a missing module SHOULD throw an error.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user