Skip to content

Commit

Permalink
Moving all test related files to /test
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Jan 25, 2013
1 parent e22f0e2 commit 40b8755
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ If true, the cookie transmission requires a secure protocol (https). Default: `f

Requires Node. Startup server:

$ node server.js
$ node test/server.js

Open in browser:

$ open http://0.0.0.0:8124/test.html
$ open http://0.0.0.0:8124/test/index.html

For quick *non cross-browser* testing use grunt:

Expand Down
2 changes: 1 addition & 1 deletion grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function (grunt) {

grunt.initConfig({
qunit: {
files: ['test.html']
files: ['test/index.html']
},
lint: {
files: [
Expand Down
4 changes: 2 additions & 2 deletions test.html → test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.10.0.css">
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script src="http://code.jquery.com/qunit/qunit-1.10.0.js"></script>
<script src="jquery.cookie.js"></script>
<script src="test.js"></script>
<script src="../jquery.cookie.js"></script>
<script src="tests.js"></script>
</head>
<body>
<h1 id="qunit-header">jquery.cookie Test Suite</h1>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion server.js → test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ http.createServer(function(request, response) {
});
}).listen(8124, '0.0.0.0');

console.log('Test suite at http://0.0.0.0:8124/test.html');
console.log('Test suite at http://0.0.0.0:8124/test/index.html');
File renamed without changes.

0 comments on commit 40b8755

Please sign in to comment.