mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-24 02:46:11 -05:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
16 lines
457 B
TypeScript
16 lines
457 B
TypeScript
import axios from 'axios'
|
|
import {config} from '../tests/e2e/web/SPEC_CONFIG.js'
|
|
|
|
async function createAuth() {
|
|
// const base = 'http://localhost:9099/identitytoolkit.googleapis.com/v1';
|
|
|
|
await axios.post(`${config.FIREBASE_URL.BASE}${config.FIREBASE_URL.SIGNUP}`, {
|
|
email: config.USERS.DEV_1.EMAIL,
|
|
password: config.USERS.DEV_1.PASSWORD,
|
|
returnSecureToken: true,
|
|
})
|
|
|
|
console.log('Auth created', config.USERS.DEV_1.EMAIL)
|
|
}
|
|
createAuth()
|