diff options
Diffstat (limited to 'tests/embind/embind.test.js')
-rw-r--r-- | tests/embind/embind.test.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/embind/embind.test.js b/tests/embind/embind.test.js index 0976c597..a36c8b08 100644 --- a/tests/embind/embind.test.js +++ b/tests/embind/embind.test.js @@ -1916,6 +1916,15 @@ module({ sh1.delete(); }); }); + + BaseFixture.extend("mixin", function() { + test("can call mixin method", function() { + var a = new cm.DerivedWithMixin(); + assert.instanceof(a, cm.Base); + assert.equal(10, a.get10()); + a.delete(); + }); + }); }); /* global run_all_tests */ |