From 044cc0d2e38035ea3dfddb1125071e75df5f954e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Wed, 26 Feb 2025 13:55:48 -0400 Subject: [PATCH] test: change constructor test --- tests/mixer.test.mts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/mixer.test.mts b/tests/mixer.test.mts index 7bc75a2..cdf21b1 100644 --- a/tests/mixer.test.mts +++ b/tests/mixer.test.mts @@ -138,7 +138,10 @@ describe('mix decorator', () => { it('should handle constructor arguments', () => { class MixinWithConstructor { - constructor(public name: string) {} + name: string; + constructor(name: string) { + this.name = name.slice(0, 2); + } getName() { return this.name;