mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 05:10:40 -07:00
style: fix unused vars in unit test
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
||||
language: node_js
|
||||
node_js: "lts/*"
|
||||
node_js:
|
||||
- "10"
|
||||
- "8"
|
||||
- "6"
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
|
||||
+2
-2
@@ -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,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,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,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,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,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,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,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 () {
|
||||
|
||||
Reference in New Issue
Block a user