Skip to content

Commit fc57c08

Browse files
committed
first Test passed
1 parent 4cf2f89 commit fc57c08

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export class Subscription {
2+
constructor(private units: number) {}
3+
}

exercises/tiered_pricing/solutions/aortiz_typescript/tests/Subscription.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
describe("Codelyber", () => {
1+
import { Subscription } from "../src/Subscription";
2+
3+
describe("Subscription", () => {
24
it("can be instantiated without throwing errors", () => {
35
expect(() => new Subscription(1)).not.toThrow(TypeError);
46
});

0 commit comments

Comments
 (0)