From: Aleksander Ɓukasz Date: Tue, 18 Jun 2013 13:11:16 +0000 (+0200) Subject: testing wip: mocha.conf.js X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/9559f99e87eaa89fec3095451a6ad60f5ead13e2?ds=sidebyside testing wip: mocha.conf.js --- diff --git a/karma.conf.js b/karma.conf.js index a819cf5..ce49467 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -5,6 +5,7 @@ files = [ MOCHA_ADAPTER, /*REQUIRE, REQUIRE_ADAPTER*/ + 'tests/mocha.conf.js', 'libs/chai.js', 'libsjquery-1.9.1.min.js', 'modules/documentCanvas/tests/tests_transform.js' diff --git a/modules/documentCanvas/tests/tests_transform.js b/modules/documentCanvas/tests/tests_transform.js index 76b59a1..6d83e98 100644 --- a/modules/documentCanvas/tests/tests_transform.js +++ b/modules/documentCanvas/tests/tests_transform.js @@ -1,5 +1,3 @@ -mocha.setup('tdd'); - suite('Transform', function() { test('test1', function() { diff --git a/tests/mocha.conf.js b/tests/mocha.conf.js new file mode 100644 index 0000000..46e0b34 --- /dev/null +++ b/tests/mocha.conf.js @@ -0,0 +1 @@ +mocha.setup('tdd'); \ No newline at end of file