From d3d45c809d7e8548d9dc236ba0a2be848f210315 Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Wed, 28 Sep 2016 09:54:04 -0700 Subject: [PATCH] fix(commonTests): skip -example.js files --- test/specs/commonTests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/specs/commonTests.js b/test/specs/commonTests.js index ed62b5c190..c5dbd1bf5c 100644 --- a/test/specs/commonTests.js +++ b/test/specs/commonTests.js @@ -28,7 +28,7 @@ const commonTestHelpers = (testName, Component) => { const componentCtx = require.context( '../../src/', true, - /(addons|collections|elements|modules|views).(?!index).*\.js/ + /(addons|collections|elements|modules|views).(?!index|-example).*\.js/ ) const componentInfo = componentCtx.keys().map(key => {