From 4e10d6e62d2271b5e90011c48ae0810490939285 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sat, 29 Jan 2022 14:04:18 +0000 Subject: [PATCH] Test CI with dummy unit test --- src/romulus-m.ts | 3 +++ tests/romulus-m.test.ts | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 src/romulus-m.ts create mode 100644 tests/romulus-m.test.ts diff --git a/src/romulus-m.ts b/src/romulus-m.ts new file mode 100644 index 0000000..01e5c14 --- /dev/null +++ b/src/romulus-m.ts @@ -0,0 +1,3 @@ +export function addNunbers (a: number, b: number): number { + return a + b +} diff --git a/tests/romulus-m.test.ts b/tests/romulus-m.test.ts new file mode 100644 index 0000000..02e3ba5 --- /dev/null +++ b/tests/romulus-m.test.ts @@ -0,0 +1,5 @@ +import { addNunbers } from '../src/romulus-m' + +test('Adds two numbers together', () => { + expect(addNunbers(1, 3)).toBe(4) +})