Skip to content

Commit

Permalink
refact: update codemirror fillin logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiWithJai committed Oct 28, 2022
1 parent eb104b6 commit 0cb67a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/tests/integration/components/job-editor-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ module('Integration | Component | job-editor', function (hooks) {
};

const planJob = async (spec) => {
await Editor.editor.fillIn(spec);
const cm = getCodeMirrorInstance(['data-test-editor']);
cm.setValue(spec);
await Editor.plan();
};

Expand Down

0 comments on commit 0cb67a7

Please sign in to comment.