Skip to content

Commit

Permalink
fix(web): fixes pred-text unit test instability
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed Apr 22, 2024
1 parent 122351b commit ace7474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('LMLayer using the trie model', function () {
//
// https://community.software.sil.org/t/search-term-to-key-in-lexical-model-not-working-both-ways-by-default/3133
it('should use the default searchTermToKey()', function () {
var lmLayer = new LMLayer(helpers.defaultCapabilities, Worker.constructInstance());
var lmLayer = new LMLayer(helpers.defaultCapabilities, Worker.constructInstance(), /* testMode */ true);

return lmLayer.loadModel(
// We need to provide an absolute path since the worker is based within a blob.
Expand Down

0 comments on commit ace7474

Please sign in to comment.