Test now works again

This commit is contained in:
Ian Gilman 2013-02-21 11:17:05 -08:00
parent 34e55d86d5
commit 98e8289c9b
3 changed files with 12 additions and 8 deletions

View File

@ -71,13 +71,19 @@ module.exports = function(grunt) {
} }
}, },
qunit: { qunit: {
all: [ "http://localhost:8000/test/test.html" ] all: {
options: {
urls: [ "http://localhost:8000/test/test.html" ]
}
}
}, },
connect: { connect: {
server: {
options: { options: {
port: 8000, port: 8000,
base: "." base: "."
} }
}
}, },
watch: { watch: {
files: [ "grunt.js", "src/*.js" ], files: [ "grunt.js", "src/*.js" ],

View File

@ -4,8 +4,6 @@
"description": "Provides a smooth, zoomable user interface for HTML/Javascript.", "description": "Provides a smooth, zoomable user interface for HTML/Javascript.",
"dependencies": { "dependencies": {
"grunt": "~0.4.0", "grunt": "~0.4.0",
"qunitjs": "1.11.0",
"phantomjs": "1.8.1-3",
"grunt-contrib-compress": "~0.4.0", "grunt-contrib-compress": "~0.4.0",
"grunt-contrib-concat": "~0.1.2", "grunt-contrib-concat": "~0.1.2",
"grunt-contrib-jshint": "~0.1.1", "grunt-contrib-jshint": "~0.1.1",

View File

@ -3,14 +3,14 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>OpenSeadragon QUnit</title> <title>OpenSeadragon QUnit</title>
<link rel="stylesheet" href="/node_modules/qunitjs/qunit/qunit.css"> <link rel="stylesheet" href="/node_modules/grunt-contrib-qunit/test/libs/qunit.css">
<link rel="stylesheet" href="/test/test.css"> <link rel="stylesheet" href="/test/test.css">
</head> </head>
<body> <body>
<div id="qunit"></div> <div id="qunit"></div>
<div id="qunit-fixture"></div> <div id="qunit-fixture"></div>
<div id="example"></div> <div id="example"></div>
<script src="/node_modules/qunitjs/qunit/qunit.js"></script> <script src="/node_modules/grunt-contrib-qunit/test/libs/qunit.js"></script>
<script src="/build/openseadragon.min.js"></script> <script src="/build/openseadragon.min.js"></script>
<script src="/test/test.js"></script> <script src="/test/test.js"></script>
</body> </body>