Skip to content

Commit

Permalink
Merge pull request #12104 from keymanapp/fix/web/lm-worker-test
Browse files Browse the repository at this point in the history
fix(web): fix lm-worker test broken by botched merge conflict resolution
  • Loading branch information
jahorton authored Aug 6, 2024
2 parents c04e52d + 10b1de4 commit 460a9d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ describe('ModelCompositor', function() {
// secondary corrections may be found
// - It's possible to interrupt "too late" if the correction search proceeds quickly,
// returning a standard full set.
await firstPredict;
const terminatedSuggestions = await firstPredict;
const finalSuggestions = await secondPredict;
if(terminatedSuggestions.length > 0) {
assert.isOk(terminatedSuggestions.find((entry) => entry.displayAs == 'a'));
Expand Down

0 comments on commit 460a9d7

Please sign in to comment.