"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const resourceUtils_1 = require("./resourceUtils");
describe('resourceUtils', () => {
    it.each([
        {
            id: 'this/is a test',
            mime: 'text/plain',
            expected: 'this_is_a_test.txt',
        },
        {
            id: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
            mime: 'application/json',
            expected: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json',
        },
    ])('should correctly determine resource filenames (case %#)', ({ id, mime, expected }) => {
        expect((0, resourceUtils_1.resourceFilename)({ id, mime })).toBe(expected);
    });
});
//# sourceMappingURL=resourceUtils.test.js.map