diff --git a/package.json b/package.json index fa782b4..e2e02b7 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "1.3.1", "description": "TAP to xUnit XML converter.", "main": "lib/converter.js", - "bin" : { - "tap-xunit" : "./bin/tap-xunit", - "txunit" : "./bin/tap-xunit" + "bin": { + "tap-xunit": "./bin/tap-xunit", + "txunit": "./bin/tap-xunit" }, "scripts": { "test": "node test/runner.js" @@ -34,11 +34,12 @@ "concat-stream": "~1.5.1" }, "dependencies": { - "through2": "~2.0.0", - "xmlbuilder": "~4.1.0", "duplexer": "~0.1.1", + "minimist": "~1.2.0", + "strip-ansi": "^3.0.1", "tap-parser": "~1.2.2", - "xtend": "~4.0.0", - "minimist": "~1.2.0" + "through2": "~2.0.0", + "xmlbuilder": "~4.1.0", + "xtend": "~4.0.0" } } diff --git a/test/expected/ansi b/test/expected/ansi new file mode 100644 index 0000000..1ad8237 --- /dev/null +++ b/test/expected/ansi @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/test/input/ansi b/test/input/ansi new file mode 100644 index 0000000..6d72d92 --- /dev/null +++ b/test/input/ansi @@ -0,0 +1,10 @@ +TAP version 13 +# test1 › this is ta thing +ok 1 - test1 › this is ta thing +# test2 › this is ta thing +ok 2 - test2 › this is ta thing + +1..2 +# tests 2 +# pass 2 +# fail 0