summary refs log tree commit diff stats
path: root/javascript/hello-world/hello-world.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/hello-world/hello-world.spec.js')
-rw-r--r--javascript/hello-world/hello-world.spec.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/javascript/hello-world/hello-world.spec.js b/javascript/hello-world/hello-world.spec.js
new file mode 100644
index 0000000..cd0b7ec
--- /dev/null
+++ b/javascript/hello-world/hello-world.spec.js
@@ -0,0 +1,7 @@
+import { hello } from './hello-world';
+
+describe('Hello World', () => {
+  test('Say Hi!', () => {
+    expect(hello()).toEqual('Hello, World!');
+  });
+});