Skip to content

Commit

Permalink
Remove inhteritance test expecting wrong argument count error (log a …
Browse files Browse the repository at this point in the history
…warning instead)
  • Loading branch information
tdermendjiev committed Dec 14, 2018
1 parent 36e5b13 commit a0eb1bc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/TestRunner/app/Inheritance/InheritanceTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,17 +320,6 @@ describe(module.id, function () {
'instance derivedCategoryProperty called'
);
});

it("MethodOverrides: prototype with wrong parameters count", function () {

var f = function() {
TNSBaseInterface.prototype.baseMethod = function(x, y) {
console.log(x);
}
}

expect(f).toThrowError('Wrong argument count for native function with name "baseMethod".');
});

it("MethodOverrides: prototype", function () {
var JSDerivedInterface = TNSDerivedInterface.extend({
Expand Down

0 comments on commit a0eb1bc

Please sign in to comment.