Skip to content

Commit 4399024

Browse files
committed
Make the tests pass
1 parent ab4dffe commit 4399024

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/handleEvent.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe("handleEvent api", () => {
5555
eventName: input.Name,
5656
})
5757

58-
context = <any>result.context
58+
context = result.context as any
5959

6060
if (event === 2) {
6161
assert.strictEqual(
@@ -145,7 +145,7 @@ describe("handleEvent api", () => {
145145
timestamp: 0,
146146
})
147147

148-
context = <any>result.context
148+
context = result.context as any
149149
currentState = result.state
150150

151151
assert.strictEqual(

0 commit comments

Comments
 (0)