summary refs log tree commit diff stats
path: root/javascript/hello-world/hello-world.spec.js
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-08-25 20:10:19 +0530
committerAndinus <andinus@nand.sh>2021-08-25 20:10:19 +0530
commit3fb698bbe091cbaa8d5d3f2256ebfb776523448d (patch)
tree46afb9bc82dd810ef9b7b21ed15056721373fe18 /javascript/hello-world/hello-world.spec.js
parent094df4feb1fc02197029764e4f748c9680150574 (diff)
downloadexercism-3fb698bbe091cbaa8d5d3f2256ebfb776523448d.tar.gz
JS: Solve hello-world, two-fer, square-root
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!');
+  });
+});