Enable metadata unit tests for Travis CI and Node.js

This commit is contained in:
Tim van der Meij 2017-09-15 22:39:54 +02:00
parent d4309614f9
commit 2281061882
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762
2 changed files with 1 additions and 3 deletions

View File

@ -790,9 +790,6 @@ describe('api', function() {
});
});
it('gets metadata', function(done) {
if (isNodeJS()) {
pending('Document is not supported in Node.js.');
}
var promise = doc.getMetadata();
promise.then(function(metadata) {
expect(metadata.info['Title']).toEqual('Basic API Test');

View File

@ -14,6 +14,7 @@
"evaluator_spec.js",
"fonts_spec.js",
"function_spec.js",
"metadata_spec.js",
"murmurhash3_spec.js",
"node_stream_spec.js",
"parser_spec.js",