Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

prettifies TAP in the browser's console

License

NotificationsYou must be signed in to change notification settings

Experience-Monks/tap-dev-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

experimental

(Click for a live demo)

Prettify TAP output in Chrome/FireFox DevTools console. Works best withtape.

fail

Comes in the form of a Browserify plugin, so you don't need to change your source code during development. PRs for other integrations (Babel, Webpack) welcome.

Install

You can install withnpm:

npm install tap-dev-tool --save-dev

Usage

NPM

browserify

The preferred way of using this is with a plugin during development. After installing, you can use it with browserify like this:

browserify index.js --plugin tap-dev-tool> bundle.js

Works well during development withwatchify andbudo.

require hook

If you don't want to use the plugin, you can require the tool somewhere at the start of your application.

require('tap-dev-tool/register')vartest=require('tape')test('should do something',function(t){   ...})

See Also

License

MIT, seeLICENSE.md for details.

About

prettifies TAP in the browser's console

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp