33 */
44
55var assert = require ( 'chai' ) . assert ;
6- var TrieModel = require ( '../' ) . models . TrieModel ;
6+ var TrieModel = require ( '../build/index.bundled.js ' ) . models . TrieModel ;
77
88// Useful for tests related to strings with supplementary pairs.
99var smpForUnicode = function ( code ) {
@@ -52,7 +52,7 @@ describe('Trie traversal abstractions', function() {
5252 assert . isEmpty ( child . traversal ( ) . entries ) ;
5353
5454 for ( tChild of traversalInner1 . children ( ) ) {
55- if ( tChild . char == 'h' ) {
55+ if ( tChild . char == 'h' ) {
5656 hSuccess = true ;
5757 let traversalInner2 = tChild . traversal ( ) ;
5858 assert . isDefined ( traversalInner2 ) ;
@@ -64,7 +64,7 @@ describe('Trie traversal abstractions', function() {
6464 eSuccess = true ;
6565 let traversalInner3 = hChild . traversal ( ) ;
6666 assert . isDefined ( traversalInner3 ) ;
67-
67+
6868 assert . isDefined ( traversalInner3 . entries ) ;
6969 assert . equal ( traversalInner3 . entries [ 0 ] , "the" ) ;
7070
@@ -104,7 +104,7 @@ describe('Trie traversal abstractions', function() {
104104 assert . isEmpty ( child . traversal ( ) . entries ) ;
105105
106106 for ( tChild of traversalInner1 . children ( ) ) {
107- if ( tChild . char == 'r' ) {
107+ if ( tChild . char == 'r' ) {
108108 let traversalInner2 = tChild . traversal ( ) ;
109109 assert . isDefined ( traversalInner2 ) ;
110110 assert . isArray ( tChild . traversal ( ) . entries ) ;
@@ -185,7 +185,7 @@ describe('Trie traversal abstractions', function() {
185185 assert . isEmpty ( child . traversal ( ) . entries ) ;
186186
187187 for ( aChild of traversalInner1 . children ( ) ) {
188- if ( aChild . char == smpP ) {
188+ if ( aChild . char == smpP ) {
189189 pSuccess = true ;
190190 let traversalInner2 = aChild . traversal ( ) ;
191191 assert . isDefined ( traversalInner2 ) ;
0 commit comments