Skip to content

Commit

Permalink
Renew mocha version; rename some files, rename dir benchmarks -> benc…
Browse files Browse the repository at this point in the history
…hmark.
  • Loading branch information
uid11 committed Sep 12, 2016
1 parent ac5db5e commit 17b0147
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "next-task",
"version": "1.0.7",
"version": "1.0.8",
"description": "Implementation of nextTick (microtask queue) for all platforms (like asap.js).",
"main": "src/next-task.js",
"scripts": {
"test:browser": "./node_modules/opener/opener.js ./test/test.html && ./node_modules/opener/opener.js ./test/noPromise.html && ./node_modules/opener/opener.js ./test/noPromiseNoMutation.html",
"test:node": "./node_modules/mocha/bin/mocha",
"benchmark:browser": "./node_modules/opener/opener.js ./benchmarks/index.html",
"benchmark:node": "node benchmarks",
"test:browser": "./node_modules/opener/opener.js ./test/test.html && ./node_modules/opener/opener.js ./test/no-promise.html && ./node_modules/opener/opener.js ./test/no-promise-no-mutation.html",
"test:node": "./node_modules/mocha/bin/mocha ./test/test.js",
"benchmark:browser": "./node_modules/opener/opener.js ./benchmark/index.html",
"benchmark:node": "node benchmark",
"build": "./node_modules/webpack/bin/webpack.js --display-modules -v"
},
"browser": {
"./benchmarks/scaffold.js": "./benchmarks/browser-scaffold.js"
"./benchmark/scaffold.js": "./benchmark/browser-scaffold.js"
},
"keywords": [
"nextTick",
Expand All @@ -27,7 +27,7 @@
"asap": "^2.0.0",
"benchmark": "^2.0.0",
"webpack": ">=1.0.0",
"mocha": "^2.0.0",
"mocha": "^3.0.0",
"opener": "*",
"lodash": "^4.15.0",
"platform": "^1.3.1"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<script src="../build/test.js"></script>

<script>
document.title = 'nextTask noPromise noMutation tests';
document.title = 'nextTask no-promise no-mutation tests';

mocha.run();
</script>
2 changes: 1 addition & 1 deletion test/noPromise.html → test/no-promise.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script src="../build/test.js"></script>

<script>
document.title = 'nextTask noPromise tests';
document.title = 'nextTask no-promise tests';

mocha.run();
</script>
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'; /* global describe, it */
describe('nextTask', function() {

var scaffold = require("./scaffold");
var scaffold = require("./scaffold-for-tests");
var nextTask = require("../src/next-task");

var syncFlush = 0;
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = {
context: __dirname,
entry: {
test: './test/test',
nextTask: './test/next-task',
benchmark: './benchmarks'
nextTask: './test/next-task-export',
benchmark: './benchmark'
},
output: {
path: __dirname + '/build',
Expand Down

0 comments on commit 17b0147

Please sign in to comment.