Update files

This commit is contained in:
thatblindgeye
2023-01-21 12:53:41 -05:00
parent fb1a2db8d7
commit 4a112362c8
31 changed files with 571 additions and 449 deletions
@@ -1,18 +1,18 @@
const reverseString = require('./reverseString-solution');
const reverseString = require("./reverseString");
describe('reverseString', () => {
test('reverses single word', () => {
expect(reverseString('hello')).toEqual('olleh');
});
describe("reverseString", () => {
test("reverses single word", () => {
expect(reverseString("hello")).toEqual("olleh");
});
test.skip('reverses multiple words', () => {
expect(reverseString('hello there')).toEqual('ereht olleh');
});
test.skip("reverses multiple words", () => {
expect(reverseString("hello there")).toEqual("ereht olleh");
});
test.skip('works with numbers and punctuation', () => {
expect(reverseString('123! abc!')).toEqual('!cba !321');
});
test.skip('works with blank strings', () => {
expect(reverseString('')).toEqual('');
});
test.skip("works with numbers and punctuation", () => {
expect(reverseString("123! abc!")).toEqual("!cba !321");
});
test.skip("works with blank strings", () => {
expect(reverseString("")).toEqual("");
});
});