|
@@ -147,6 +147,7 @@ function collectMemoryStats() {
|
|
|
// google-chrome -js-flags="--expose-gc"
|
|
// google-chrome -js-flags="--expose-gc"
|
|
|
//
|
|
//
|
|
|
function skipIfNoGarbageCollector() {
|
|
function skipIfNoGarbageCollector() {
|
|
|
|
|
+ // eslint-disable-next-line mocha/no-top-level-hooks
|
|
|
before( function() {
|
|
before( function() {
|
|
|
if ( !window.gc ) {
|
|
if ( !window.gc ) {
|
|
|
this.skip();
|
|
this.skip();
|