@drifted/qa
v0.0.33
Published
collection of test helping functions
Readme
qa
Install
npm install @drifted/qa --save-devUsage
Create a Quick App For Testing
const { appInstance } = require('@drifted/qa');
var app = appInstance({csrf: true})
app.response.render = require('@drifted/engine')({
views: [
path.join(__dirname, 'views'),
path.join(process.cwd(), 'node_modules', '@drifted', 'views')
],
stream: true
});
app.use(require('@drifted/static')({
path: [
path.join(__dirname, '..', 'node_modules', '@drifted', 'assets', 'public')
]
}));