Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Fix Additional Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Robertson committed Nov 12, 2020
1 parent a1b7e79 commit 58743a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/core/test-app/tests/create-shipment-international.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ export class CreateShipmentInternational extends Suite {
try {
[shipFrom, shipTo] = useInternationalShipmentAddresses(this.deliveryService);
} catch {
return undefined;
shipFrom = config.shipFrom;
shipTo = config.shipTo;
}

const { tomorrow } = initializeTimeStamps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ describe("The create shipment international test suite", () => {
});
});

describe.skip("When a delivery service has addresses that we don't have samples but user uses valid configs", () => {
describe("When a delivery service has addresses that we don't have samples but user uses valid configs", () => {
it("should generate tests", () => {
const { appDefinition, connectArgs, staticConfigTests, options } = generateBasicAppAndConfigs();
appDefinition.deliveryServices[0].availableCountries = ["SJ", "JP"];
appDefinition.deliveryServices[0].availableCountries = ["AQ"];
appDefinition.deliveryServices[0].serviceArea = "international";

staticConfigTests.createShipment_international = {
Expand Down Expand Up @@ -74,7 +74,7 @@ describe("The create shipment international test suite", () => {
});
});

describe.skip("when there is an international service with an available address", () => {
describe("when there is an international service with an available address", () => {
let testSuite;
beforeEach(() => {
const { appDefinition, connectArgs, staticConfigTests, options } = generateBasicAppAndConfigs();
Expand All @@ -97,7 +97,7 @@ describe("The create shipment international test suite", () => {
});
});

describe.skip("when there is a config override object of test suite parameters", () => {
describe("when there is a config override object of test suite parameters", () => {

it("should update the test title", () => {
const { appDefinition, connectArgs, staticConfigTests, options } = generateBasicAppAndConfigs();
Expand Down Expand Up @@ -131,7 +131,7 @@ describe("The create shipment international test suite", () => {
});
});

describe.skip("when there is a config override array of test suite parameters", () => {
describe("when there is a config override array of test suite parameters", () => {

let tests;
beforeEach(() => {
Expand Down

0 comments on commit 58743a9

Please sign in to comment.