UNPKG

@xrengine/server-core

Version:

Shared components for XREngine server

27 lines (21 loc) 836 B
import assert from 'assert' import { Application } from '../../../declarations' import { createFeathersExpressApp } from '../../createApp' import { copyDefaultProject, uploadLocalProjectToProvider } from '../../projects/project/project.class' // import { generateAvatarThumbnail } from './generateAvatarThumbnail' // import fs from 'fs' // import path from 'path' // import appRootPath from 'app-root-path' // const debugThumbnail = false // causes CI/CD weirdness describe('avatar-helper', () => { let app: Application before(async () => { app = createFeathersExpressApp() await app.setup() // reset default project in case another test has tampered with it copyDefaultProject() await app.service('project')._seedProject('default-project') await uploadLocalProjectToProvider('default-project') }) })