The stub seems wrong to me, it contains some JS documented code and a function definition:
whereas the tests expect a class Util
:
Can I create a PR to fix this?
The stub seems wrong to me, it contains some JS documented code and a function definition:
whereas the tests expect a class Util
:
Can I create a PR to fix this?
I’ll sort it out. Thanks for reporting!
You’re absolutely right of course
// export const abilityModifier = () => {
// throw new Error('Remove this statement and implement this function');
// };
var abilityModifier = Fn.new { |n|
Fiber.abort("Remove this statement and implement this function")
}
should be
class Util {
static abilityModifier(n) = {
Fiber.abort("Remove this statement and implement this function")
}
}
Would you like to submit a PR?