Skip to content

Commit 93971d3

Browse files
committed
Add syncFileContent to Toolbar.unit.test.jsx props
1 parent 787ebd7 commit 93971d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/components/Toolbar.unit.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const renderComponent = (extraProps = {}) => {
2222
startSketch: jest.fn(),
2323
startAccessibleSketch: jest.fn(),
2424
saveProject: jest.fn(),
25+
syncFileContent: jest.fn(),
2526
currentUser: 'me',
2627
originalProjectName: 'testname',
2728

@@ -94,7 +95,6 @@ describe('<ToolbarComponent />', () => {
9495
it('sketch is started when play button is clicked', async () => {
9596
const props = renderComponent();
9697
const playButton = screen.getByLabelText('Play only visual sketch');
97-
9898
fireEvent.click(playButton);
9999

100100
await waitFor(() => expect(props.startSketch).toHaveBeenCalled());

0 commit comments

Comments
 (0)