Skip to content

Commit

Permalink
style: test/integration/builtin/filters/array.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
harttle committed May 19, 2019
1 parent 505c408 commit b14430a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/builtin/filters/array.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from '../../../stub/render'
import Liquid from '../../../../src/liquid'
import {expect} from 'chai'
import { expect } from 'chai'

describe('filters/array', function () {
let liquid: Liquid
Expand Down Expand Up @@ -33,7 +33,7 @@ describe('filters/array', function () {
expect(html).to.equal('.moT rojaM ot lortnoc dnuorG')
})
it('should be pure', async function () {
const scope = {arr: ['a', 'b', 'c']}
const scope = { arr: ['a', 'b', 'c'] }
await liquid.parseAndRender('{{ arr | reverse | join: "" }}', scope)
const html = await liquid.parseAndRender('{{ arr | join: "" }}', scope)
expect(html).to.equal('abc')
Expand Down

0 comments on commit b14430a

Please sign in to comment.