Skip to content

Commit

Permalink
build(config): update mocha config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Apr 15, 2024
1 parent 60c0ac9 commit d991c4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/mocha/config-unit.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
const { expect } = require('chai');
const { expect, use } = require('chai');
const babelOptions = require('../babel/test.json');
const babelRegister = require('@babel/register');
const { readFileSync } = require('fs');
const sinonChai = require('sinon-chai');

babelRegister(babelOptions);

use(sinonChai);

const compiler = require.extensions['.ts'];

require.extensions['.ts'] = function (mdl, filename) {
Expand Down

0 comments on commit d991c4f

Please sign in to comment.