mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Enable metadata unit tests for Travis CI and Node.js
This commit is contained in:
parent
d4309614f9
commit
2281061882
2 changed files with 1 additions and 3 deletions
|
@ -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');
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue