Skip to content

Commit

Permalink
Update JestObjectAPI.md
Browse files Browse the repository at this point in the history
  • Loading branch information
faizanu94 authored Dec 6, 2023
1 parent 426ea90 commit 2aad8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.5/JestObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ afterEach(() => {

test('plays video', () => {
const spy = jest.spyOn(video, 'play', 'get'); // we pass 'get'
const isPlaying = video.play();
const isPlaying = video.play;

expect(spy).toHaveBeenCalled();
expect(isPlaying).toBe(true);
Expand Down

0 comments on commit 2aad8d1

Please sign in to comment.