Revert "update cloning link"

This reverts commit 4c771f2e05.
This commit is contained in:
Tatiana
2021-05-08 11:25:04 -07:00
parent 60fe6c8b1f
commit 18cffeb940
1791 changed files with 7747 additions and 138307 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ const sumAll = function() {
}
module.exports = sumAll;
module.exports = sumAll
+7 -7
View File
@@ -1,22 +1,22 @@
const sumAll = require("./sumAll");
describe("sumAll", () => {
it("sums numbers within the range", () => {
describe("sumAll", function () {
it("sums numbers within the range", function () {
expect(sumAll(1, 4)).toEqual(10);
});
it("works with large numbers", () => {
xit("works with large numbers", function () {
expect(sumAll(1, 4000)).toEqual(8002000);
});
it("works with larger number first", () => {
xit("works with larger number first", function () {
expect(sumAll(123, 1)).toEqual(7626);
});
it("returns ERROR with negative numbers", () => {
xit("returns ERROR with negative numbers", function () {
expect(sumAll(-10, 4)).toEqual("ERROR");
});
it("returns ERROR with non-number parameters", () => {
xit("returns ERROR with non-number parameters", function () {
expect(sumAll(10, "90")).toEqual("ERROR");
});
it("returns ERROR with non-number parameters", () => {
xit("returns ERROR with non-number parameters", function () {
expect(sumAll(10, [90, 1])).toEqual("ERROR");
});
});