Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / jsdom / jsdom@8.5.0.js
267 bytesRaw
1 | ; |
2 | |
3 | var jsdom = require('jsdom'); |
4 | |
5 | jsdom.env( |
6 | '<p><a class="the-link" href="https://github.com/tmpvar/jsdom">jsdom!</a></p>', |
7 | function (errors, window) { |
8 | if (window.document.body.children[0].tagName === 'P') { |
9 | console.log('ok'); |
10 | } |
11 | } |
12 | ); |
13 |
Built with git-ssb-web