Skip to content

Commit 1922b14

Browse files
committed
fix build
1 parent dd697eb commit 1922b14

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

docker-compose.override.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22

3-
version: '3'
4-
53
services:
64
exercises:
75
volumes:

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22

3-
version: '3'
4-
53
services:
64
exercises:
75
build: .

modules/30-classes/80-abstract-classes/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable max-classes-per-file */
22
import Clock from './index';
33

4-
test('GameObject', () => {
4+
test('Clock', () => {
55
class Clock12 extends Clock {
66
render(): string {
77
const timeType = this.hours >= 12 ? 'PM' : 'AM';
@@ -23,8 +23,8 @@ test('GameObject', () => {
2323
}
2424
}
2525

26-
const clock121 = new Clock12(12, 59, 0);
27-
expect(clock121.render()).toBe('12 : 59 AM');
26+
const clock121 = new Clock12(11, 59, 0);
27+
expect(clock121.render()).toBe('11 : 59 AM');
2828

2929
const clock12 = new Clock12(23, 59, 58);
3030
expect(clock12.render()).toBe('11 : 59 PM');

0 commit comments

Comments
 (0)