The last test in the Pythagorean Triplet exercise is disabled because (according to #1324) it takes too long to run in the web UI. When I submit a solution for the exercise, though, it's marked as failed with just the last test failing.
Locally I've edited the pythagorean-triplet.spec.js file to change test.skip to test and all tests pass successfully. Is there something we're supposed to do to re-enable tests like this when we submit solutions? I tried submitting with my local pythagorean-triplet.spec.js file, but (as expected) that didn't actually change the behaviour.
I can't work out how I'm supposed to submit my solution and have it marked as correct.
|
test.skip('triplets for large number', () => { |
|
expect(tripletsWithSum(30000)).toEqual([ |
|
[1200, 14375, 14425], |
|
[1875, 14000, 14125], |
|
[5000, 12000, 13000], |
|
[6000, 11250, 12750], |
|
[7500, 10000, 12500], |
|
]); |
|
}); |
The last test in the Pythagorean Triplet exercise is disabled because (according to #1324) it takes too long to run in the web UI. When I submit a solution for the exercise, though, it's marked as failed with just the last test failing.
Locally I've edited the
pythagorean-triplet.spec.jsfile to changetest.skiptotestand all tests pass successfully. Is there something we're supposed to do to re-enable tests like this when we submit solutions? I tried submitting with my localpythagorean-triplet.spec.jsfile, but (as expected) that didn't actually change the behaviour.I can't work out how I'm supposed to submit my solution and have it marked as correct.
javascript/exercises/practice/pythagorean-triplet/pythagorean-triplet.spec.js
Lines 61 to 69 in ba70215