Phase 1: Add ESLint/Prettier config + baseline auto-fixes
This commit is contained in:
@@ -151,7 +151,7 @@ describe('DockerSecurity Module', () => {
|
||||
});
|
||||
|
||||
test('should handle very long image names', () => {
|
||||
const longName = 'registry.example.com/team/project/' + 'a'.repeat(100) + ':v1.2.3';
|
||||
const longName = `registry.example.com/team/project/${ 'a'.repeat(100) }:v1.2.3`;
|
||||
|
||||
dockerSecurity.setTrustedDigest(longName, 'sha256:long');
|
||||
expect(dockerSecurity.config.trustedDigests[longName]).toBe('sha256:long');
|
||||
|
||||
Reference in New Issue
Block a user