forked from brendon1982/ts-mocking-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
05_fake_timers.test.ts
60 lines (51 loc) · 1.28 KB
/
05_fake_timers.test.ts
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { describe, it, beforeEach, afterEach } from 'mocha'
import { expect } from 'chai'
import sinon from 'sinon'
import { generateDayMessage } from '../tests-to-implement/05_fake_timers'
describe('generateDayMessage', () => {
it.skip('returns a message containing the current time', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing the current time after some time has elapsed', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Monday" on Mondays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Tuesday" on Tuesdays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Wednesday" on Wednesdays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Thursday" on Thursdays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Friday" on Fridays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Saturday" on Saturdays', () => {
// Arrange
// Act
// Assert
})
it.skip('returns a message containing "Sunday" on Sundays', () => {
// Arrange
// Act
// Assert
})
})