All files / blong-int-adapter/s3/test/fixtures object.ts

100% Statements 33/33
100% Branches 0/0
100% Functions 0/0
100% Lines 33/33

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 31 32 33 341x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * Fixture data for S3 integration tests.
 * Used by testS3ObjectCrud to seed and verify CRUD operations on the S3 bucket.
 */
 
export const objects = [
    {
        key: 'test/blong-text.txt',
        body: 'blong integration test text content',
        contentType: 'text/plain',
    },
    {
        key: 'test/blong-json.json',
        body: JSON.stringify({blongTest: true, sequence: 1}),
        contentType: 'application/json',
    },
] as const;
 
export const objectWithMetadata = {
    key: 'test/blong-with-meta.txt',
    body: 'object with custom metadata for blong integration test',
    contentType: 'text/plain',
    metadata: {
        'blong-test': 'true',
        'test-source': 'blong-integration',
    },
} as const;
 
/** Destination key used in copy tests. */
export const copiedKey = 'test/blong-copy.txt';
 
/** Prefix used to scope all test objects for listing and cleanup. */
export const PREFIX = 'test/blong';