Guest User

Untitled

a guest
May 22nd, 2018
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import myConfig from "../path/to/my/config.js";
  2.  
  3. // config could look like this
  4. // myConfig = {
  5. // user: {
  6. // email: "foo@bar.com",
  7. // password: "baz",
  8. // type: "admin"
  9. // },
  10. // locale: {
  11. // region: "us-west-1",
  12. // timezone: "CST",
  13. // country: "USA"
  14. // }
  15. // }
  16.  
  17. const email = myConfig.user.email
  18. const password = myConfig.user.password
  19.  
  20. myLoginPage.login(email, password)
Add Comment
Please, Sign In to add comment