1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: those tests fail with autopkgtest
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2025-07-06
--- a/test.js
+++ b/test.js
@@ -18,7 +18,6 @@
t.is(json.name, 'pageres');
t.is(json._id, 'pageres@4.4.0');
t.is(json.time.created, '2014-02-07T18:17:46.737Z');
- t.is(json.time.modified, '2022-10-27T08:57:30.321Z');
});
test('all version', async t => {
@@ -84,6 +83,7 @@
await t.throwsAsync(packageJson('hapi', {version: '6.6.6'}), {instanceOf: VersionNotFoundError});
});
+/* fail with autopkgtest
test('does not send any auth token for unconfigured registries', async t => {
const server = http.createServer((request, response) => {
response.end(JSON.stringify({headers: request.headers, 'dist-tags': {}}));
@@ -113,4 +113,5 @@
const json = await packageJson('@mockscope2/foobar');
t.is(json.name, '@mockscope2/foobar');
server.close();
-});
+});*/
+
|