shahoob/functionKit

View on GitHub
src/__tests__/greeter.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { greet } from '../greeter';

test('greet shehab (as an example)', () => {
  expect(greet('Shehab')).toBe('Hello Shehab');
});

test('greet shehab (as an example), but in a diffrent way', () => {
  expect(greet('Shehab', 'Welcome back')).toBe('Welcome back Shehab');
});