Skip to content

Commit bb2ac90

Browse files
committed
better name for test sample
1 parent 9dd698e commit bb2ac90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/src/Samples/Program.test.tsx renamed to samples/src/Samples/ProgramSample.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ function updateUntilIdle<Model, Msg>(props: ProgramProps<Model, Msg>): Promise<[
6969
}
7070

7171
function testableProps<Model, Msg>(resolve: ResolveType<Model, Msg>, props: ProgramProps<Model, Msg>) {
72-
const props2: ProgramProps<TestableModel<Model, Msg>, Msg> = {
72+
const tprops: ProgramProps<TestableModel<Model, Msg>, Msg> = {
7373
init: initTestable(resolve, props.init),
7474
view: viewTestable(props.view),
7575
update: updateTestable((props.update)),
7676
subscriptions: suscriptionsTestable(props)
7777
}
78-
return props2
78+
return tprops
7979
}
8080

8181
type TestableModel<Model, Msg> = {

0 commit comments

Comments
 (0)