Skip to content

Commit

Permalink
test: remove fit and fdescribe
Browse files Browse the repository at this point in the history
  • Loading branch information
sherylgiovanni committed Jan 14, 2025
1 parent 0355ec8 commit 5449984
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { findElevationAtManyPoints } from "../src/index.js";
import { atManyPointsDefaultResult } from "./mocks/atManyPointsDefault.mock.js";
import { atManyPointsEllipsoidResult } from "./mocks/atManyPointsEllipsoid.mock.js";

fdescribe("findElevationAtManyPoints()", () => {
describe("findElevationAtManyPoints()", () => {
afterEach(() => {
fetchMock.restore();
});

fit("should return elevation at points with mean sea level as the reference", async () => {
it("should return elevation at points with mean sea level as the reference", async () => {
fetchMock.mock("*", atManyPointsDefaultResult);

let response = await findElevationAtManyPoints({
Expand All @@ -25,7 +25,7 @@ fdescribe("findElevationAtManyPoints()", () => {
expect(response.result).toEqual(atManyPointsDefaultResult.result);
});

fit("should return elevation at points with ellipsoid as the reference", async () => {
it("should return elevation at points with ellipsoid as the reference", async () => {
fetchMock.mock("*", atManyPointsEllipsoidResult);

const response = await findElevationAtManyPoints({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { findElevationAtPoint } from "../src/index.js";
import { atPointDefaultResult } from "./mocks/atPointDefault.mock.js";
import { atPointEllipsoidResult } from "./mocks/atPointEllipsoid.mock.js";

fdescribe("findElevationAtPoint()", () => {
describe("findElevationAtPoint()", () => {
afterEach(() => {
fetchMock.restore();
});

fit("should return elevation at a point with mean sea level as the reference", async () => {
it("should return elevation at a point with mean sea level as the reference", async () => {
fetchMock.mock("*", atPointDefaultResult);

const response = await findElevationAtPoint({
Expand All @@ -26,7 +26,7 @@ fdescribe("findElevationAtPoint()", () => {
expect(url).toContain("token=MOCK_KEY");
});

fit("should return elevation at a point with ellipsoid as the reference", async () => {
it("should return elevation at a point with ellipsoid as the reference", async () => {
fetchMock.mock("*", atPointEllipsoidResult);

const response = await findElevationAtPoint({
Expand Down

0 comments on commit 5449984

Please sign in to comment.