Skip to content

Commit d99e791

Browse files
test: fix unrecognized method (#5552)
For some reason I started getting errors saying that `deepEqual` does not exist. This fixes that --- <!--- REMINDER: Ensure that your PR meets the guidelines in CONTRIBUTING.md --> License: I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Nikolas Komonen <[email protected]>
1 parent 2915614 commit d99e791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/test/stepFunctions/commands/visualizeStateMachine.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ describe('StepFunctions VisualizeStateMachine', async function () {
215215
}
216216

217217
assert.ok(postMessage.calledOnce)
218-
assert.deepEqual(postMessage.firstCall.args, [message])
218+
assert.deepStrictEqual(postMessage.firstCall.args, [message])
219219
})
220220

221221
it('Test AslVisualisation sendUpdateMessage posts a correct update message for invalid YAML files', async function () {
@@ -238,7 +238,7 @@ describe('StepFunctions VisualizeStateMachine', async function () {
238238
}
239239

240240
assert.ok(postMessage.calledOnce)
241-
assert.deepEqual(postMessage.firstCall.args, [message])
241+
assert.deepStrictEqual(postMessage.firstCall.args, [message])
242242
})
243243

244244
it('Test AslVisualisation sendUpdateMessage posts a correct update message for ASL files', async function () {
@@ -261,7 +261,7 @@ describe('StepFunctions VisualizeStateMachine', async function () {
261261
}
262262

263263
assert.ok(postMessage.calledOnce)
264-
assert.deepEqual(postMessage.firstCall.args, [message])
264+
assert.deepStrictEqual(postMessage.firstCall.args, [message])
265265
})
266266
})
267267

0 commit comments

Comments
 (0)