Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6270582

Browse files
committed
chore: adjust spec to interface changes
1 parent 9b9e464 commit 6270582

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

libs/template/let/src/lib/tests/let.directive.parent-notification.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ describe('LetDirective parent notification', () => {
8888
const behavior = strategyProvider.strategies[strategy].behavior;
8989
componentInstance.rendered$
9090
.pipe(
91-
behavior(() => {}, {
92-
scope: {},
91+
behavior({
92+
work: () => {},
9393
}),
9494
delay(0, asapScheduler)
9595
)
@@ -108,8 +108,8 @@ describe('LetDirective parent notification', () => {
108108
const behavior = strategyProvider.strategies[strategy].behavior;
109109
componentInstance.rendered$
110110
.pipe(
111-
behavior(() => {}, {
112-
scope: {},
111+
behavior({
112+
work: () => {},
113113
}),
114114
delay(0, asapScheduler)
115115
)
@@ -128,8 +128,8 @@ describe('LetDirective parent notification', () => {
128128
const behavior = strategyProvider.strategies[strategy].behavior;
129129
componentInstance.rendered$
130130
.pipe(
131-
behavior(() => {}, {
132-
scope: {},
131+
behavior({
132+
work: () => {},
133133
}),
134134
delay(0, asapScheduler)
135135
)
@@ -151,8 +151,8 @@ describe('LetDirective parent notification', () => {
151151
const behavior = strategyProvider.strategies[strategy].behavior;
152152
componentInstance.rendered$
153153
.pipe(
154-
behavior(() => {}, {
155-
scope: {},
154+
behavior({
155+
work: () => {},
156156
}),
157157
delay(0, asapScheduler)
158158
)
@@ -171,8 +171,8 @@ describe('LetDirective parent notification', () => {
171171
const behavior = strategyProvider.strategies[strategy].behavior;
172172
componentInstance.rendered$
173173
.pipe(
174-
behavior(() => {}, {
175-
scope: {},
174+
behavior({
175+
work: () => {},
176176
}),
177177
delay(0, asapScheduler)
178178
)

0 commit comments

Comments
 (0)