Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
15 lines
627 B
Plaintext
15 lines
627 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const vitest_1 = require("vitest");
|
|
const __1 = require("../..");
|
|
(0, vitest_1.describe)('Issue 1518', () => {
|
|
(0, vitest_1.it)('should not throw on deactivating undefined singleton values', async () => {
|
|
const container = new __1.Container();
|
|
const symbol = Symbol.for('foo');
|
|
container.bind(symbol).toConstantValue(undefined);
|
|
console.log(container.get(symbol));
|
|
await container.unbind('foo');
|
|
(0, vitest_1.expect)(() => { }).not.toThrow();
|
|
});
|
|
});
|
|
//# sourceMappingURL=issue_1518.test.js.map |