From 594e5f630a1fe758ce3e7437e0ed2d22795f451a Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 8 Aug 2019 10:24:55 -0400 Subject: [PATCH] allow contract to be used as describe --- packages/embark-test-runner/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/embark-test-runner/src/index.js b/packages/embark-test-runner/src/index.js index 4a364c078..84c946843 100644 --- a/packages/embark-test-runner/src/index.js +++ b/packages/embark-test-runner/src/index.js @@ -323,6 +323,7 @@ class TestRunner { (next) => { // setup global namespace global.assert = assert; global.config = config; + global.contract = global.describe; next(); }, (next) => { // initialize Mocha