pinafore/tests/serverActions.js
Nolan Lawson 4a49e9118e lint fix
2018-03-05 23:56:48 -08:00

9 lines
278 B
JavaScript

import { favoriteStatus } from '../routes/_api/favorite'
import fetch from 'node-fetch'
import { users } from './users'
global.fetch = fetch
export async function favoriteStatusAsAdmin (statusId) {
return favoriteStatus('localhost:3000', users.admin.accessToken, statusId)
}