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

8 lines
198 B
JavaScript
Raw Permalink Normal View History

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