Permalink
Browse files

Skip modules using steal.clone in the prod tests

  • Loading branch information...
1 parent 7ee36ce commit 5fa1fa138c2355e61331c1be40a4a018136b2c44 @marshallswain marshallswain committed Dec 21, 2016
Showing with 13 additions and 4 deletions.
  1. +13 −4 test/test.js
View
@@ -14,9 +14,13 @@ require('can-stache-converters/test/test');
// Infrastructure tests
require('../event/event_test');
-require('can-observation/can-observation_test');
+if (!System.isEnv('production')) {
+ System.import('can-observation/can-observation_test');
+}
require('../util/util_test');
-require('can-view-callbacks/test/callbacks-test');
+if (!System.isEnv('production')) {
+ System.import('can-view-callbacks/test/callbacks-test');
+}
require('../view/import/import_test');
require('../view/live/live_test');
require('can-view-model/test/test');
@@ -29,8 +33,13 @@ if (!System.isEnv('production')) {
}
require('can-view-target/test/test');
require('can-simple-dom/test/test');
-require('can-cid/test/test');
-require('can-types/test/test');
+if (!System.isEnv('production')) {
+ System.import('can-cid/test/test');
+}
+if (!System.isEnv('production')) {
+ System.import('can-types/test/test');
+}
+
// Legacy tests

0 comments on commit 5fa1fa1

Please sign in to comment.