Skip to content

Commit

Permalink
update to latest mocha, steal and steal-css
Browse files Browse the repository at this point in the history
add "mocha-fixture", remove "test-area"
  • Loading branch information
Julian Kern committed Mar 24, 2018
1 parent 177e07e commit 0e32341
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
9 changes: 3 additions & 6 deletions add-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ if(!document.getElementById("mocha")) {
(document.body || document.documentElement).appendChild(mocha);
}
if(!document.getElementById("page")) {
var page = document.createElement("div");
page.id = "page";
var testArea = document.createElement("div");
testArea.id = "test-area";
page.appendChild(testArea);
(document.body || document.documentElement).appendChild(page);
var fixture = document.createElement("div");
fixture.id = "mocha-fixture";
(document.body || document.documentElement).appendChild(fixture);
}
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "steal-mocha",
"version": "1.0.0",
"version": "2.0.0",
"description": "A package for Mocha and StealJS",
"main": "steal-mocha",
"steal": {
Expand All @@ -27,7 +27,7 @@
},
"keywords": [
"StealJS",
"QUnit"
"Mocha"
],
"author": "Bitovi",
"license": "MIT",
Expand All @@ -36,17 +36,11 @@
},
"homepage": "https://github.com/stealjs/steal-mocha",
"devDependencies": {
"bower": "1.8.0",
"grunt": "~1.0.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-watch": "~1.0.0",
"steal": "^1.0.0",
"steal-tools": "^1.0.0",
"testee": "^0.4.0"
"testee": "^0.7.0"
},
"dependencies": {
"mocha": "^3.0.2",
"steal-css": "^1.0.0"
"mocha": "^5.0.5",
"steal": "^1.11.0",
"steal-css": "^1.3.2"
}
}

0 comments on commit 0e32341

Please sign in to comment.