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
+2 -2
View File
@@ -1,5 +1,5 @@
const caesar = function() {
};
}
module.exports = caesar;
module.exports = caesar
+22 -20
View File
@@ -1,23 +1,25 @@
const caesar = require("./caesar");
test('works with single letters', () => {
expect(caesar('A', 1)).toBe('B');
});
test.skip('works with words', () => {
expect(caesar('Aaa', 1)).toBe('Bbb');
});
test.skip('works with phrases', () => {
expect(caesar('Hello, World!', 5)).toBe('Mjqqt, Btwqi!');
});
test.skip('works with negative shift', () => {
expect(caesar('Mjqqt, Btwqi!', -5)).toBe('Hello, World!');
});
test.skip('wraps', () => {
expect(caesar('Z', 1)).toBe('A');
});
test.skip('works with large shift factors', () => {
expect(caesar('Hello, World!', 75)).toBe('Ebiil, Tloia!');
});
test.skip('works with large negative shift factors', () => {
expect(caesar('Hello, World!', -29)).toBe('Ebiil, Tloia!');
describe("caesar", function () {
it("works with single letters", function () {
expect(caesar("A", 1)).toEqual("B");
});
xit("works with words", function () {
expect(caesar("Aaa", 1)).toEqual("Bbb");
});
xit("works with phrases", function () {
expect(caesar("Hello, World!", 5)).toEqual("Mjqqt, Btwqi!");
});
xit("works with negative shift", function () {
expect(caesar("Mjqqt, Btwqi!", -5)).toEqual("Hello, World!");
});
xit("wraps", function () {
expect(caesar("Z", 1)).toEqual("A");
});
xit("works with large shift factors", function () {
expect(caesar("Hello, World!", 75)).toEqual("Ebiil, Tloia!");
});
xit("works with large negative shift factors", function () {
expect(caesar("Hello, World!", -29)).toEqual("Ebiil, Tloia!");
});
});