"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const vitest_1 = require("vitest");
const __1 = require("../..");
(0, vitest_1.describe)('Issue 706', () => {
    (0, vitest_1.it)('Should expose BindingScopeEnum as part of the public API', () => {
        let SomeClass = class SomeClass {
            time;
            constructor() {
                this.time = new Date().getTime();
            }
        };
        SomeClass = tslib_1.__decorate([
            (0, __1.injectable)(),
            tslib_1.__metadata("design:paramtypes", [])
        ], SomeClass);
        const container = new __1.Container({
            defaultScope: __1.bindingScopeValues.Singleton,
        });
        // eslint-disable-next-line @typescript-eslint/typedef
        const TYPE = {
            SomeClass: Symbol.for('SomeClass'),
        };
        container.bind(TYPE.SomeClass).to(SomeClass);
        const instanceOne = container.get(TYPE.SomeClass);
        const instanceTwo = container.get(TYPE.SomeClass);
        (0, vitest_1.expect)(instanceOne.time).toBe(instanceTwo.time);
    });
});
//# sourceMappingURL=issue_706.test.js.map