Skip to content

Instantly share code, notes, and snippets.

look ahead

João Pedro Schmitz jpedroschmitz

look ahead
Block or report user

Report or block jpedroschmitz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mail-config-adonis.js
const Env = use('Env');
module.exports = {
| Connection
| Connection to be used for sending emails. Each connection needs to
| define a driver too.
View config.js
let mongoServer;
beforeAll(async () => {
mongoServer = new MongoMemoryServer();
const URI = await mongoServer.getUri();
mongoose.connect(URI, {
useNewUrlParser: true,
useCreateIndex: true,
useUnifiedTopology: true,
View gatsby-node.js
const path = require("path");
const _ = require("lodash");
const {
} = require("gatsby-source-filesystem");
exports.onCreateNode = ({
You can’t perform that action at this time.