You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/test/upgrade.js

14 lines
331 B
JavaScript

'use strict';
const assert = require('assert');
const db = require('./mocks/databasemock');
const upgrade = require('../src/upgrade');
describe('Upgrade', function () {
it('should get all upgrade scripts', async function () {
const files = await upgrade.getAll();
assert(Array.isArray(files) && files.length > 0);
});
});