From 3007a24ec37aff2338ea5645ff33abff42ba6b7f Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 5 Feb 2018 22:39:25 +0100 Subject: add tests with AVA --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 11ea9d9..14c9ff1 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,10 @@ "dependencies": { "unist-util-visit": "^1.1.3" }, + "scripts": { + "pretest": "xo", + "test": "ava" + }, "author": "ache", "license": "MIT", "keywords": [ @@ -15,7 +19,12 @@ "remark" ], "devDependencies": { - "jest": "^22.1.4", + "ava": "^0.25.0", + "rehype-raw": "^2.0.0", + "rehype-stringify": "^3.0.0", + "remark-parse": "^5.0.0", + "remark-rehype": "^3.0.0", + "unified": "^6.1.6", "xo": "^0.18.2" }, "xo": { -- cgit v1.2.3