mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
feat: webpack 5 part 1
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
|
||||
const nconf = require('nconf');
|
||||
const assert = require('assert');
|
||||
const benchpress = require('benchpressjs');
|
||||
|
||||
const db = require('./mocks/databasemock');
|
||||
const helpers = require('../public/src/modules/helpers');
|
||||
const helpers = require('../public/src/modules/helpers.common')(require('../src/utils'), benchpress, nconf.get('relative_path'));
|
||||
|
||||
describe('helpers', () => {
|
||||
it('should return false if item doesn\'t exist', (done) => {
|
||||
|
||||
Reference in New Issue
Block a user