feat(oci): Support monolithic OCI blob uploads; add registry cleanup/destroy hooks; update tests and docs
This commit is contained in:
@@ -358,4 +358,10 @@ tap.test('NPM: should reject readonly token for write operations', async () => {
|
||||
expect(response.status).toEqual(401);
|
||||
});
|
||||
|
||||
tap.postTask('cleanup registry', async () => {
|
||||
if (registry) {
|
||||
registry.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
|
||||
@@ -294,4 +294,10 @@ tap.test('OCI: should handle unauthorized requests', async () => {
|
||||
expect(response.headers['WWW-Authenticate']).toInclude('Bearer');
|
||||
});
|
||||
|
||||
tap.postTask('cleanup registry', async () => {
|
||||
if (registry) {
|
||||
registry.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
|
||||
@@ -194,4 +194,10 @@ tap.test('Integration: should access storage backend', async () => {
|
||||
expect(existsAfterDelete).toEqual(false);
|
||||
});
|
||||
|
||||
tap.postTask('cleanup registry', async () => {
|
||||
if (registry) {
|
||||
registry.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
|
||||
Reference in New Issue
Block a user