1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00
phantomjs/test/basics/version.js
2019-12-25 04:43:19 -08: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, 3);
assert_equals(phantom.version.minor, 0);
assert_equals(phantom.version.patch, 0);
}, "PhantomJS version number is accurate");