Skip to content

Commit

Permalink
cleaning up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Curtis Cummings committed Mar 27, 2015
1 parent 4e006a6 commit 9ca0f8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
8 changes: 0 additions & 8 deletions test/autocomplete_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@ import $ from 'jquery';
import can from 'can';
import QUnit from 'steal-qunit';
import 'can/view/stache/';
QUnit.config.autorun = false;

import ViewModel from 'bit-autocomplete';
import SearchModel from './fixture';
//Steal has finished loading at this point so we just need to make sure Testee is ready
if (window.Testee) {
Testee.init();
}

var vm, template, $component;

Expand Down Expand Up @@ -95,6 +90,3 @@ QUnit.test('item adds to input', function (assert) {
done();
},100);
});

//Load Qunit
QUnit.load();
14 changes: 2 additions & 12 deletions test/test.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css">
<script src='../node_modules/steal/steal.js' main='test/autocomplete_test'></script>
</head>
<body>
<div id="qunit"></div>
<div id='qunit-fixture'></div>
</body>
</html>
<script src='../node_modules/steal/steal.js' main='test/autocomplete_test'></script>
<div id='qunit-fixture'></div>

0 comments on commit 9ca0f8b

Please sign in to comment.