Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: container reset isn't working as expected #1449

Open
gmccullo opened this issue Dec 13, 2024 · 0 comments
Open

fix: container reset isn't working as expected #1449

gmccullo opened this issue Dec 13, 2024 · 0 comments
Labels
status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature.

Comments

@gmccullo
Copy link

Description

This test fails:

test('reset should clear container', () => {
	assert.ok(!typedi.Container.has('foobar'), "Should be no foobar in container.");

	typedi.Container.set('foobar', 'some value');
	assert.ok(typedi.Container.has('foobar'), "Foobar should be in container.");

	typedi.Container.reset();
	assert.ok(!typedi.Container.has('foobar'), "Foobar should be cleared from container.");
});
@gmccullo gmccullo added status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature. labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage Issues which needs to be reproduced to be verified report. type: fix Issues describing a broken feature.
Development

No branches or pull requests

1 participant