mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
* delete package-lock.json before installing * ignore package-lock.json * don't let npm run in production mode, refactor
28 lines
584 B
JavaScript
28 lines
584 B
JavaScript
'use strict';
|
|
|
|
require('./util/test-init');
|
|
|
|
const expressTests = require('./autotests/express/express');
|
|
const expressTestUtil = require('./util/express-test');
|
|
|
|
describe('express-4', function() {
|
|
this.timeout(15000);
|
|
|
|
before(function() {
|
|
// install express 4
|
|
expressTestUtil.installExpressVersion('^4');
|
|
});
|
|
|
|
expressTests.test();
|
|
});
|
|
|
|
describe('express-5', function() {
|
|
this.timeout(10000);
|
|
|
|
before(function() {
|
|
// Install express 5
|
|
expressTestUtil.installExpressVersion('5.0.0-alpha.5');
|
|
});
|
|
|
|
expressTests.test();
|
|
}); |