const testsContext = require.context('./specs', true, /\.spec$/);
testsContext.keys().forEach(testsContext);

const srcContext = require.context('../../src', true, /^\/(?!index(\.js)?$)/);
srcContext.keys().forEach(srcContext);

@@ -1,12 +1,391 @@
+// mock passive event listener support and upsupport%0A(() =%3E %7B%0A  const originAddListener = window.addEventListener;%0A  let flag;%0A%0A  window.addEventListener = (...args) =%3E %7B%0A    // try to read passive property and only read once time if it is accessible%0A    if (!flag && args%5B2%5D && args%5B2%5D.passive) %7B%0A      flag = false;%0A    %7D%0A    originAddListener.apply(window, args);%0A  %7D;%0A%7D)();%0A%0A
 const testsC

Improve unit tests for passive event support logic