Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Optimize test resolution.

  • Loading branch information...
commit 9709cadea4bcc4d18906b17191ac8a1c555f7964 1 parent 5ebf2aa
@jcoglan authored
View
1  source/test/context/context.js
@@ -100,7 +100,6 @@ JS.Test.extend({
JS.Test.selfless(block).call(klass);
- klass.resolve();
return klass;
},
View
2  source/test/unit/auto_runner.js
@@ -12,6 +12,8 @@ JS.Test.Unit.extend({
names = [],
suites = [];
+ JS.Test.Unit.TestCase.resolve();
+
JS.Test.Unit.TestCase.forEach(function(testcase) {
suites.push(testcase.suite());
if (testcase.superclass === JS.Test.Unit.TestCase)
View
2  test/specs/test/context_spec.js
@@ -31,7 +31,7 @@ Test.ContextSpec = JS.Test.describe(JS.Test.Context, function() {
context("when nested", function() {
before("each", function() {
this.context = this.klass.context("and we're testing", function() {
- klass.define("nested", function() {
+ __eigen__().define("nested", function() {
return this.context("should be nested", function() {
define("test_this_thing", function() {
return true
Please sign in to comment.
Something went wrong with that request. Please try again.