{"size": 632, "ext": "js", "max_stars_repo_path": "test/development.test.js", "max_stars_repo_name": "darkcris1/config-cjs", "max_stars_repo_stars_event_min_datetime": "2021-02-22T09:38:16.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-22T09:38:16.000Z", "max_issues_repo_path": "test/development.test.js", "max_issues_repo_name": "darkcris1/config-cjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/development.test.js", "max_forks_repo_name": "darkcris1/config-cjs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 35.1111111111, "max_line_length": 59, "alphanum_fraction": 0.7563291139}
process.env.NODE_ENV = "development";
process.env.DB_PASSWORD = "12345_development"
process.env.DB_USER = "db_user_development"

const config = require("../index")
const developmentConfig = require("../config/development")
const defaultConfig = require("../config/default")

const mergeConfig = {...defaultConfig,...developmentConfig}

describe("Config Development Environment",()=>{
	it("should match the development values",()=>{
		expect(config.appName).toBe("development_test")
		expect(config.dbUser).toBe("db_user_development")
		expect(config.dbPassword).toBe("12345_development")
		expect(config).toEqual(mergeConfig)
	})
})