puppeteer/third_party/phantomjs/test/basics/version.js

8 lines
300 B
JavaScript
Raw Normal View History

2017-05-11 07:06:41 +00:00
// This is separate from basics/phantom-object.js because it has to be
// updated with every release.
test(function () {
assert_equals(phantom.version.major, 0);
assert_equals(phantom.version.minor, 0);
assert_equals(phantom.version.patch, 1);
}, "PhantomJS version number is accurate");