From 1a1addb1a1349c556e65c2103d4c7bf78066b22a Mon Sep 17 00:00:00 2001 From: Denis Sokolov Date: Mon, 18 Jan 2021 12:00:00 +0000 Subject: [PATCH] Swith testing to tape This is primarily to support a future addition of airtap which relies on tape. --- .dependabot/config.yml | 2 +- package.json | 4 ++-- test.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.dependabot/config.yml b/.dependabot/config.yml index 778e799..fbd4e98 100644 --- a/.dependabot/config.yml +++ b/.dependabot/config.yml @@ -5,4 +5,4 @@ update_configs: update_schedule: "daily" ignored_updates: - match: - dependency_name: "tap" + dependency_name: "tape" diff --git a/package.json b/package.json index 9ee06fd..9b4066e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "benchmark": "cd benchmarks && npm install && npm run all", - "test": "standard && tap test.js" + "test": "standard && tape test.js" }, "repository": { "type": "git", @@ -26,6 +26,6 @@ "homepage": "https://github.com/fastify/secure-json-parse#readme", "devDependencies": { "standard": "^16.0.0", - "tap": "^12.7.0" + "tape": "^5.1.1" } } diff --git a/test.js b/test.js index 525b870..1d04fee 100644 --- a/test.js +++ b/test.js @@ -1,6 +1,6 @@ 'use strict' -const test = require('tap').test +const test = require('tape').test const j = require('./index') test('parse', t => {