mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 10:02:27 -04: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
403 B
TypeScript
16 lines
403 B
TypeScript
import axios from 'axios'
|
|
import {config} from '../SPEC_CONFIG'
|
|
|
|
async function setup() {
|
|
const results = await axios.post(`${config.FIREBASE_URL.BASE}${config.FIREBASE_URL.SIGNUP}`, {
|
|
email: 'trial_test@email.com',
|
|
password: 'trialTestPassword',
|
|
returnSecureToken: true,
|
|
})
|
|
|
|
console.log('Auth created: ', 'trial_test@email.com')
|
|
console.log('Id: ', results.data.localId)
|
|
}
|
|
|
|
setup()
|