mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
chore(TypeScript): fix linting and generate .d.ts
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import * as chai from 'chai'
|
||||
import * as chaiAsPromised from 'chai-as-promised'
|
||||
import * as sinonChai from 'sinon-chai'
|
||||
import * as sinon from 'sinon'
|
||||
import Scope from '../../src/scope/scope'
|
||||
@@ -7,7 +6,6 @@ import Filter from 'src/template/filter'
|
||||
import Value from 'src/template/value'
|
||||
|
||||
chai.use(sinonChai)
|
||||
chai.use(chaiAsPromised)
|
||||
|
||||
const expect = chai.expect
|
||||
const add = (l, r) => l + r
|
||||
@@ -41,7 +39,6 @@ describe('Value', function () {
|
||||
expect(tpl.filters.length).to.equal(2)
|
||||
})
|
||||
|
||||
|
||||
it('should eval value', function () {
|
||||
Filter.register('date', (l, r) => l + r)
|
||||
Filter.register('time', (l, r) => l + 3 * r)
|
||||
|
||||
Reference in New Issue
Block a user