odin-default-js-exercises/01_helloWorld/solution/helloWorld-solution.spec.js

8 lines
198 B
JavaScript
Raw Permalink Normal View History

2023-02-01 23:53:54 +00:00
const helloWorld = require('./helloWorld-solution');
2022-02-20 19:07:44 +00:00
2023-02-01 23:53:54 +00:00
describe('Hello World', function () {
2023-01-21 17:53:41 +00:00
test('says "Hello, World!"', function () {
2023-02-01 23:53:54 +00:00
expect(helloWorld()).toEqual('Hello, World!');
2023-01-21 17:53:41 +00:00
});
2022-02-20 19:07:44 +00:00
});