This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { ServiceProvider } = require('@adonisjs/fold') | |
const path = require('path') | |
const fs = require('fs') | |
const Drive = use('Drive') | |
const Helpers = use('Helpers') | |
class FileUpload extends ServiceProvider { | |
register () { } | |
boot () { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Well, this is where i intend to write my answer later today |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-07-18T13:59:21.737Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import supertest from 'supertest'; | |
import {should} form 'chai'; | |
import app from './index.js'; | |
const mockUser = { | |
email: '[email protected]', | |
username: 'wonderfuluser', | |
password: 'anotherwonderwonders'} | |
describe('POST /api/users', () => { |