Skip to content

Commit de38262

Browse files
committed
test: delete that breaks on macos
1 parent a62eba8 commit de38262

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

packages/form-js-playground/test/spec/JSONEditor.spec.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -312,38 +312,6 @@ describe('JSONEditor', function () {
312312
expect(completionDisplayLabels).to.include('"baz"');
313313
});
314314
});
315-
316-
it('should suggest property completion after comma', async function () {
317-
// given
318-
const initialValue = '{ "foo": "bar",\n }';
319-
const variables = ['foobar', 'baz'];
320-
321-
const editor = new JSONEditor();
322-
editor.setValue(initialValue);
323-
editor.setVariables(variables);
324-
325-
const cm = editor.getView();
326-
327-
// move cursor after the comma and newline
328-
select(cm, 15);
329-
330-
// when
331-
startCompletion(cm);
332-
333-
// then
334-
await expectEventually(() => {
335-
const completions = currentCompletions(cm.state);
336-
expect(completions).to.have.length(2);
337-
338-
const completionLabels = completions.map(({ label }) => label);
339-
const completionDisplayLabels = completions.map(({ displayLabel }) => displayLabel);
340-
341-
expect(completionLabels).to.include('"foobar": ');
342-
expect(completionLabels).to.include('"baz": ');
343-
expect(completionDisplayLabels).to.include('"foobar"');
344-
expect(completionDisplayLabels).to.include('"baz"');
345-
});
346-
});
347315
});
348316
});
349317

0 commit comments

Comments
 (0)