refactor: fix typos (#18000)
This commit is contained in:

committed by
Jason Aden

parent
9dd550fa1e
commit
c723d42d0a
@ -31,7 +31,7 @@ class FancyService {
|
||||
class ExternalTemplateComp {
|
||||
}
|
||||
|
||||
@Component({selector: 'bad-template-comp', templateUrl: 'non-existant.html'})
|
||||
@Component({selector: 'bad-template-comp', templateUrl: 'non-existent.html'})
|
||||
class BadTemplateUrl {
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ export function main() {
|
||||
() => { done.fail('Expected test to fail, but it did not'); },
|
||||
(err: any) => {
|
||||
expect(err.message)
|
||||
.toEqual('Uncaught (in promise): Failed to load non-existant.html');
|
||||
.toEqual('Uncaught (in promise): Failed to load non-existent.html');
|
||||
done();
|
||||
});
|
||||
restoreJasmineIt();
|
||||
|
Reference in New Issue
Block a user