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,12 +71,18 @@ module.exports = function(grunt) {
}
},
qunit: {
all: [ "http://localhost:8000/test/test.html" ]
all: {
options: {
urls: [ "http://localhost:8000/test/test.html" ]
}
}
},
connect: {
options: {
port: 8000,
base: "."
server: {
options: {
port: 8000,
base: "."
}
}
},
watch: {

View File

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

View File

@ -3,14 +3,14 @@
<head>
<meta charset="utf-8">
<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">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></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="/test/test.js"></script>
</body>