All files / infra/configs environment.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22  2x 2x 2x                                    
type EnvironmentData = {
  HOST?: string
  TOKEN?: string
}
 
export type EnvironmentType = "production" | "development" | "test";
 
type Environment = Record<string, EnvironmentData>
 
export const environment: Environment = {
  production: {
    HOST: "https://app.intopays.com"
  },
  development: {
    HOST: "http://localhost:8090"
  },
  test: {
    HOST: "http://localhost:8090",
    TOKEN: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJzZGtAaW50b3BheXMuY29tIiwiaWF0IjoxNzEzMTMzMDMwfQ.0uOXAMSq09aasfUkDCzuvaKVUBBAZf0mU1uBz-UDXkQ"
  }
};