mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 15:00:42 -07:00
style: fix unused vars in unit test
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js: "lts/*"
|
node_js:
|
||||||
|
- "10"
|
||||||
|
- "8"
|
||||||
|
- "6"
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: test
|
- stage: test
|
||||||
|
|||||||
+2
-2
@@ -7,8 +7,8 @@
|
|||||||
"browser": "dist/liquid.js",
|
"browser": "dist/liquid.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --ext .ts --ext .js",
|
"lint": "eslint . --ext .ts --ext .js",
|
||||||
"unit": "mocha test/unit/*.ts test/unit/**/*.ts",
|
"unit": "mocha 'test/unit/**/*.ts'",
|
||||||
"e2e": "npm run build && mocha test/e2e/**/*.ts test/e2e/*.ts",
|
"e2e": "npm run build && mocha 'test/e2e/**/*.ts'",
|
||||||
"test": "npm run unit && npm run e2e",
|
"test": "npm run unit && npm run e2e",
|
||||||
"coverage-html": "nyc npm run unit && nyc report --reporter=html",
|
"coverage-html": "nyc npm run unit && nyc report --reporter=html",
|
||||||
"coverage-coveralls": "nyc npm run unit && nyc report --reporter=text-lcov | coveralls",
|
"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('filters/array', function () {
|
||||||
describe('join', 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 () {
|
describe('filters/date', function () {
|
||||||
it('should support date: %a %b %d %Y', 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('filters/html', function () {
|
||||||
describe('escape', 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('filters/math', function () {
|
||||||
describe('abs', 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('filters/object', function () {
|
||||||
describe('default', 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('filters/string', function () {
|
||||||
describe('append', 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('filters/url', function () {
|
||||||
describe('url_decode', function () {
|
describe('url_decode', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user