mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
feat: export toValueSync & defaultOptions to evaluate expression, see #527
This commit is contained in:
@@ -17,7 +17,7 @@ describe('Tokenizer', function () {
|
||||
const trie = createTrie(defaultOperators)
|
||||
|
||||
it('should read quoted', () => {
|
||||
expect(new Tokenizer('"foo" ff', trie).readQuoted()!.getText()).to.equal('"foo"')
|
||||
expect(new Tokenizer('"foo" ff').readQuoted()!.getText()).to.equal('"foo"')
|
||||
expect(new Tokenizer(' "foo"ff', trie).readQuoted()!.getText()).to.equal('"foo"')
|
||||
})
|
||||
it('should read value', () => {
|
||||
|
||||
Reference in New Issue
Block a user