We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4dc82 commit 20267e0Copy full SHA for 20267e0
exercises/graduated_tiered_prices/solutions/adrianliz/tests/GraduatedTieredPricing.test.ts
@@ -1,5 +1,14 @@
1
+class GraduatedTieredPricing {
2
+ priceFor(subscriptions: number): number {
3
+ throw new Error("Not implemented yet");
4
+ }
5
+}
6
+
7
describe("Graduated tiered pricing should", () => {
- // TODO: Graduated tiered pricing spec
8
+ it("calculate the price for 1 subscription", () => {
9
+ const pricing = new GraduatedTieredPricing();
10
+ expect(pricing.priceFor(1)).toBe(299);
11
+ });
12
});
13
14
test("test framework working", async () => {
0 commit comments