Skip to content

Instantly share code, notes, and snippets.

@bshelling
bshelling / database.test.js
Last active January 19, 2020 17:29
Database Testing Example
const mongoose = require('mongoose');
require('dotenv').config();
describe('Customer CRUD',() => {
let connection;
let database;
const customers = mongoose.model("test_"+process.env.COLLECTION,mongoose.Schema({
name: String,
email: String
}));
@bshelling
bshelling / cloudSettings
Last active October 9, 2019 01:48
Segment and utm extract
{"lastUpload":"2019-10-09T01:48:22.628Z","extensionVersion":"v3.4.3"}