test(language-service): Move pipe tests to TEST_TEMPLATE (#36407)
This commit simplifies the completion tests for pipes by moving them to TEST_TEMPLATE. PR Close #36407
This commit is contained in:

committed by
Kara Erickson

parent
8660806ddc
commit
eb8c6c7eff
@ -31,13 +31,6 @@ export class CaseMissingClosing {
|
||||
export class CaseUnknown {
|
||||
}
|
||||
|
||||
@Component({
|
||||
template: '<h1>{{data | ~{before-pipe}lowe~{in-pipe}rcase~{after-pipe} }}',
|
||||
})
|
||||
export class Pipes {
|
||||
data = 'Some string';
|
||||
}
|
||||
|
||||
@Component({
|
||||
template: '<h1 h~{no-value-attribute}></h1>',
|
||||
})
|
||||
@ -175,7 +168,7 @@ export class TemplateReference {
|
||||
myClick(event: any) {}
|
||||
birthday = new Date();
|
||||
readonlyHeroes: ReadonlyArray<Readonly<Hero>> = this.heroes;
|
||||
constNames = [{name: 'name'}] as const ;
|
||||
constNames = [{name: 'name'}] as const;
|
||||
}
|
||||
|
||||
@Component({
|
||||
|
Reference in New Issue
Block a user