Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimson Montederamos authored and Jimson Montederamos committed Aug 31, 2023
1 parent 2a6f776 commit cc10af9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/carValueController.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import { describe, it, expect } from "@jest/globals";
import { calculateCarValue } from "../src/services/carValueServices";

describe('Convert car model and year to a "Car Value"', () => {
// it("should calculate car value for valid input", () => {
// // Arrange
// const model = "Civic";
// const year = 2014;
// const expected = 6614;

// // Act
// const result = calculateCarValue(model, year);

// // Assert
// expect(result).toBe(expected);
// });
it("should calculate car value for valid input", () => {
// Arrange
const model = "Civic";
const year = 2014;
const expected = 6614;

// Act
const result = calculateCarValue(model, year);

// Assert
expect(result).toBe(expected);
});

it("should calculate car value for model with space", () => {
// Arrange
Expand Down

0 comments on commit cc10af9

Please sign in to comment.