export function greet(name) {
return 'Welcome ' + name;
}
import { greet } from './greet';
describe('.greet()', () => {
it('should include the name in the greeting', () => {
const greeting = greet('Bruce Wayne');
expect(greeting).toContain(name);
});
});