Error.stackTraceLimit = Infinity;

// jquery has to be first or many a test will break
global.$ = global.jQuery = require('jquery');

// angular 1 test harnesss
const angular = require('angular');
require('angular-mocks');

// polyfills
require('core-js/client/shim');

require('rxjs');

require('./settings.js');

require('ngimport');
beforeEach(angular.mock.module('bcherny/ngimport'));

require('./test/helpers/customMatchers');

const testContext = require.context('./app/scripts/', true, /\.spec\.(js|ts|tsx)$/);
testContext.keys().forEach(testContext);

@@ -530,16 +530,50 @@
 .keys().
+filter(k =%3E !k.includes('/lib/')).
 forEach(

exclude /lib/ from test context