Skip to content

Commit 3ed5e3d

Browse files
authored
Update no-nested-pipe.ts
test description update
1 parent 34ded57 commit 3ed5e3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rules/no-nested-pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ruleTester({ types: true }).run("no-nested-pipe", rule, {
3434
}
3535
`,
3636
stripIndent`
37-
// not nested in pipe
37+
// not nested in pipe using function move to separate function
3838
import { Observable,switchMap } from "rxjs";
3939
of(47).pipe(switchMap(value => {
4040
return someFunction1(value)
@@ -74,7 +74,7 @@ ruleTester({ types: true }).run("no-nested-pipe", rule, {
7474
),
7575
fromFixture(
7676
stripIndent`
77-
// nested in pipe
77+
// nested in pipe with parallel pipes
7878
import { of,switchMap,tap } from "rxjs";
7979
of("foo").pipe(
8080
switchMap(value => {

0 commit comments

Comments
 (0)