puppeteer/third_party/phantomjs/test/basics/version.js
2017-05-11 00:06:41 -07:00

8 lines
300 B
JavaScript

// 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");