diff options
author | James Lal <james@lightsofapollo.com> | 2013-04-28 19:49:19 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2013-04-28 19:49:47 -0700 |
commit | 8340549fa7c16e682936b0da26f65671c91311d5 (patch) | |
tree | 8782dbf83fa7b8e53bbdb15e4912d7c90aebe1cf /test-agent | |
parent | c439df4388cc4bb5c1777c4dbdc5b164d5192d7f (diff) | |
download | jsCalDAV-8340549fa7c16e682936b0da26f65671c91311d5.tar.gz |
Test framework refactorng + sinon
Diffstat (limited to 'test-agent')
-rw-r--r-- | test-agent/index.html | 4 | ||||
-rw-r--r-- | test-agent/index.js | 2 | ||||
-rw-r--r-- | test-agent/sandbox.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test-agent/index.html b/test-agent/index.html index b2e7bb5..d2835d0 100644 --- a/test-agent/index.html +++ b/test-agent/index.html @@ -4,7 +4,7 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Serve the tests</title> - <link rel="stylesheet" href="../vendor/test-agent.css" type="text/css" charset="utf-8"> + <link rel="stylesheet" href="/node_modules/test-agent/test-agent.css" type="text/css" charset="utf-8"> <style type="text/css" media="all"> body > iframe { width: 100%; @@ -21,7 +21,7 @@ </div> <!-- Load the bare minimum to get the ui and runner working --> -<script src="../vendor/test-agent.js" type="text/javascript" charset="utf-8"></script> +<script src="/node_modules/test-agent/test-agent.js" type="text/javascript" charset="utf-8"></script> <script src="./index.js" type="text/javascript" charset="utf-8"></script> </body> diff --git a/test-agent/index.js b/test-agent/index.js index f5b1a9a..0f865df 100644 --- a/test-agent/index.js +++ b/test-agent/index.js @@ -12,7 +12,7 @@ worker.use(TestAgent.BrowserWorker.MochaDriver, { /* path to mocha */ - mochaUrl: '../vendor/mocha.js', + mochaUrl: '/node_modules/mocha/mocha.js', testHelperUrl: '../test/helper.js', reporter: 'HTML', ui: 'tdd' diff --git a/test-agent/sandbox.html b/test-agent/sandbox.html index 8b8fb94..fa79ac3 100644 --- a/test-agent/sandbox.html +++ b/test-agent/sandbox.html @@ -3,7 +3,7 @@ <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Tests</title> - <link rel="stylesheet" type="text/css" href="../vendor/mocha.css" /> + <link rel="stylesheet" type="text/css" href="/node_modules/mocha/mocha.css" /> <style type="text/css" media="all"> iframe { border: none; |