/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { expect, describe, it } from 'vitest';
import { hydrateString } from './variables.js';
describe('hydrateString', () => {
    it('should replace a single variable', () => {
        const context = {
            extensionPath: 'path/my-extension',
        };
        const result = hydrateString('Hello, ${extensionPath}!', context);
        expect(result).toBe('Hello, path/my-extension!');
    });
});
//# sourceMappingURL=variables.test.js.map