From 2c33aeb6e68869745934993307a0cc4584d0cd88 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Tue, 21 Feb 2023 14:02:55 +0800 Subject: [PATCH] disable tests that requires tap 14 Forwarded: not-needed Last-Update: 2020-03-10 Gbp-Pq: Name disable-tests-for-tap-12.diff --- test/content.read.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/content.read.js b/test/content.read.js index 28b271d..5258156 100644 --- a/test/content.read.js +++ b/test/content.read.js @@ -196,6 +196,7 @@ test('read: errors if content size does not match size option', function (t) { }) }) +/* test('read: error while parsing provided integrity data', function (t) { const INTEGRITY = 'sha1-deadbeef' const mockedRead = getRead({ @@ -236,6 +237,7 @@ test('read: unknown error parsing nested integrity data', function (t) { 'should throw unknown errors' ) }) +*/ test('read: returns only first result if other hashes fails', function (t) { // sets up a cache that has multiple entries under the @@ -373,6 +375,7 @@ test('hasContent: tests content existence', (t) => { ]) }) +/* test('hasContent: permission error', (t) => { // setup a syntetic permission error const mockedRead = getReadLstatFailure(permissionError) @@ -384,6 +387,7 @@ test('hasContent: permission error', (t) => { 'should reject on permission errors' ) }) +*/ test('hasContent: generic error', (t) => { const mockedRead = getReadLstatFailure(genericError)