style: fix unused vars in unit test

This commit is contained in:
harttle
2019-02-19 23:01:59 +08:00
parent 852c6ad453
commit 64a9eb79c5
9 changed files with 13 additions and 10 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
language: node_js
node_js: "lts/*"
node_js:
- "10"
- "8"
- "6"
jobs:
include:
- stage: test
+2 -2
View File
@@ -7,8 +7,8 @@
"browser": "dist/liquid.js",
"scripts": {
"lint": "eslint . --ext .ts --ext .js",
"unit": "mocha test/unit/*.ts test/unit/**/*.ts",
"e2e": "npm run build && mocha test/e2e/**/*.ts test/e2e/*.ts",
"unit": "mocha 'test/unit/**/*.ts'",
"e2e": "npm run build && mocha 'test/e2e/**/*.ts'",
"test": "npm run unit && npm run e2e",
"coverage-html": "nyc npm run unit && nyc report --reporter=html",
"coverage-coveralls": "nyc npm run unit && nyc report --reporter=text-lcov | coveralls",
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/array', function () {
describe('join', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test, ctx } from 'test/stub/render'
describe('filters/date', function () {
it('should support date: %a %b %d %Y', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/html', function () {
describe('escape', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/math', function () {
describe('abs', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/object', function () {
describe('default', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/string', function () {
describe('append', function () {
+1 -1
View File
@@ -1,4 +1,4 @@
import { test, ctx, liquid } from 'test/stub/render'
import { test } from 'test/stub/render'
describe('filters/url', function () {
describe('url_decode', function () {