Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import myConfig from "../path/to/my/config.js";
- // config could look like this
- // myConfig = {
- // user: {
- // email: "foo@bar.com",
- // password: "baz",
- // type: "admin"
- // },
- // locale: {
- // region: "us-west-1",
- // timezone: "CST",
- // country: "USA"
- // }
- // }
- const email = myConfig.user.email
- const password = myConfig.user.password
- myLoginPage.login(email, password)
Add Comment
Please, Sign In to add comment