Skip to content

Commit

Permalink
test: import Config Options constants from source files
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Aug 11, 2021
1 parent 0ce04fe commit c3af4be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { ENDPOINT_CONFIG_OPTIONS } from "./EndpointConfigOptions";

const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT";
const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint";
import { CONFIG_ENDPOINT_NAME, ENDPOINT_CONFIG_OPTIONS, ENV_ENDPOINT_NAME } from "./EndpointConfigOptions";

describe("ENDPOINT_CONFIG_OPTIONS", () => {
describe("environmentVariableSelector", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { EndpointMode } from "./EndpointMode";
import { ENDPOINT_MODE_CONFIG_OPTIONS } from "./EndpointModeConfigOptions";

const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode";
import {
CONFIG_ENDPOINT_MODE_NAME,
ENDPOINT_MODE_CONFIG_OPTIONS,
ENV_ENDPOINT_MODE_NAME,
} from "./EndpointModeConfigOptions";

describe("ENDPOINT_MODE_CONFIG_OPTIONS", () => {
describe("environmentVariableSelector", () => {
Expand Down

0 comments on commit c3af4be

Please sign in to comment.