feat: webpack 5 part 1

This commit is contained in:
Barış Soner Uşaklı
2022-02-14 21:35:33 -05:00
parent 4043f1791d
commit a1a1e8da18
53 changed files with 2550 additions and 2308 deletions

View File

@@ -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) => {