forked from TheOdinProject/javascript-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjoinStrings.spec.js
More file actions
28 lines (26 loc) · 822 Bytes
/
joinStrings.spec.js
File metadata and controls
28 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const values = require('./joinStrings')
describe('step 2', () => {
test('firstName is Carlos', () => {
expect(values.firstName).toEqual('Carlos');
});
test.skip('lastName is Stevenson', () => {
expect(values.lastName).toEqual('Stevenson');
});
test.skip('thisYear is 1965', () => {
expect(values.thisYear).toEqual(1965);
});
test.skip('birthYear is 1947', () => {
expect(values.birthYear).toEqual(1947);
});
test.skip('greeting is properly output', () => {
expect(values.greeting).toEqual('Hello! My name is Carlos Stevenson and I am 18 years old.');
});
});
describe('step 3', () => {
test.skip('fullName is Carlos Stevenson', () => {
expect(values.fullName).toEqual('Carlos Stevenson');
});
test.skip('age is 18', () => {
expect(values.age).toEqual(18);
});
});