From 7d7ed7af5e071f4b032ab9f9219fd97bb34e8496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Wed, 14 Dec 2022 13:56:53 +0100 Subject: [PATCH] update standard, use strict in tests --- package.json | 7 +++---- test/index.js | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 11c620f..19d9809 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "url": "https://github.com/goto-bus-stop/qs-stringify/issues" }, "devDependencies": { - "standard": "^16.0.3", - "tap-spec": "^5.0.0", + "standard": "^17.0.0", "tape": "^5.0.0" }, "homepage": "https://github.com/goto-bus-stop/qs-stringify", @@ -26,7 +25,7 @@ }, "scripts": { "lint": "standard", - "tests-only": "tape test/*.js", - "test": "npm run lint && npm run tests-only | tap-spec" + "tests-only": "node test", + "test": "npm run lint && npm run tests-only" } } diff --git a/test/index.js b/test/index.js index 4e95526..73e0c26 100644 --- a/test/index.js +++ b/test/index.js @@ -1,3 +1,6 @@ +/* eslint-disable no-var */ +'use strict' + var test = require('tape') var stringify = require('../')