From 0694b30fc65f0728884201d5051db9a0a163a347 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Thu, 8 Jun 2017 22:23:27 +0300 Subject: [PATCH] Add testem as a main test runner --- .testem.json | 14 ++++++++++++++ package.json | 5 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .testem.json diff --git a/.testem.json b/.testem.json new file mode 100644 index 0000000..13dbf42 --- /dev/null +++ b/.testem.json @@ -0,0 +1,14 @@ +{ + "framework": "custom", + "src_files": [ + "src/**/*.js", + "test/**/*.js" + ], + "launchers": { + "tap": { + "command": "ava test/**/*.js --tap", + "protocol": "tap" + } + }, + "launch_in_dev": [ "tap" ] +} diff --git a/package.json b/package.json index ed15f3b..0573495 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "babel-cli": "^6.24.1", "babel-preset-env": "^1.3.3", "babel-register": "^6.24.1", - "sinon": "^2.1.0" + "sinon": "^2.1.0", + "testem": "^1.16.2" }, "ava": { "require": [ @@ -40,7 +41,7 @@ "test": "test" }, "scripts": { - "test": "ava", + "test": "testem", "prepublish": "make boosh" }, "license": "MIT"