mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Add solution directories for exercises
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
const helloWorld = function () {
|
||||
return 'Hello, World!';
|
||||
};
|
||||
|
||||
module.exports = helloWorld;
|
||||
@@ -0,0 +1,7 @@
|
||||
const helloWorld = require('./helloWorld-solution');
|
||||
|
||||
describe('Hello World', function () {
|
||||
test('says "Hello, World!"', function () {
|
||||
expect(helloWorld()).toEqual('Hello, World!');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user