import { describe, it } from "mocha"; import { config } from "../../../src/utils/config"; import { expect } from "chai"; import { getSchemaId } from "../../../src/services/deliveryMonitoringService"; describe("DeliveryMonitoringService", function () { it("get schema ID", function () { config.OGURY_ENV = "prod"; config.AWS_REGION = "eu-west-1"; config.AWS_AZ = "a"; expect(getSchemaId()).to.equal(1); config.OGURY_ENV = "prod"; config.AWS_REGION = "us-west-2"; config.AWS_AZ = "a"; expect(getSchemaId()).to.equal(1); config.OGURY_ENV = "prod"; config.AWS_REGION = "us-west-2"; config.AWS_AZ = "b"; expect(getSchemaId()).to.equal(1); }); });