Skip to content

Commit fb74dc7

Browse files
committed
Remove visual tests
They're covered by the integration tests for reporters. Tests shouldn't assume that AVA's reporters can preserve unbroken stdout/stderr output. However now that AVA reporters write to stdout, and the stdout/stderr from workers is directed to stderr, users can separate the output after the fact.
1 parent b260d94 commit fb74dc7

9 files changed

+1
-290
lines changed

package-lock.json

Lines changed: 0 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"scripts": {
1313
"lint": "xo && (cd test/fixture && xo '**' '!{source-map-initial,syntax-error}.js' '!snapshots/test-sourcemaps/build/**') && lock-verify",
1414
"test": "npm run lint && flow check test/flow-types && tsc --noEmit -p test/ts-types && nyc tap --no-cov --timeout=300 --jobs=4 test/*.js test/reporters/*.js",
15-
"test-win": "tap --no-cov --reporter=classic --timeout=300 --jobs=4 test/*.js test/reporters/*.js",
16-
"visual": "node test/visual/run-visual-tests.js"
15+
"test-win": "tap --no-cov --reporter=classic --timeout=300 --jobs=4 test/*.js test/reporters/*.js"
1716
},
1817
"files": [
1918
"lib",
@@ -150,7 +149,6 @@
150149
"get-stream": "^3.0.0",
151150
"git-branch": "^1.0.0",
152151
"has-ansi": "^3.0.0",
153-
"inquirer": "^5.1.0",
154152
"lock-verify": "^1.1.0",
155153
"lolex": "^2.3.2",
156154
"nyc": "^11.4.1",

test/visual/console-log.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/visual/lorem-ipsum.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/visual/lorem-ipsum.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/visual/print-lorem-ipsum.js

Lines changed: 0 additions & 34 deletions
This file was deleted.

test/visual/run-visual-tests.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

test/visual/stdout-write.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

test/visual/text-ends-at-terminal-width.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)