mediawiki/extensions/WikibaseMediaInfo (main)

sourcepatches
$ date
Thu Jun 10 23:45:32 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-WikibaseMediaInfo.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
3f917fccef231a62bc39e249cf102b2774ce8eb4 refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 40 installs, 0 updates, 0 removals
  - Installing php-parallel-lint/php-console-color (v0.3): Loading from cache
  - Installing php-parallel-lint/php-console-highlighter (v0.5): Loading from cache
  - Installing php-parallel-lint/php-parallel-lint (v1.3.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.23.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.23.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.23.0): Loading from cache
  - Installing symfony/string (v5.3.0): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.4.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.23.0): Loading from cache
  - Installing symfony/deprecation-contracts (v2.4.0): Loading from cache
  - Installing symfony/console (v5.3.0): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing mediawiki/minus-x (1.1.1): Loading from cache
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing composer/spdx-licenses (1.5.5): Loading from cache
  - Installing composer/semver (3.2.5): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v36.0.0): Loading from cache
  - Installing sabre/event (5.1.2): Loading from cache
  - Installing netresearch/jsonmapper (v2.1.0): Loading from cache
  - Installing microsoft/tolerant-php-parser (v0.0.23): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
  - Installing felixfbecker/advanced-json-rpc (v3.2.0): Loading from cache
  - Installing composer/xdebug-handler (1.4.6): Loading from cache
  - Installing phan/phan (3.2.6): Loading from cache
  - Installing mediawiki/phan-taint-check-plugin (3.2.1): Loading from cache
  - Installing mediawiki/mediawiki-phan-config (0.10.6): Loading from cache
  - Installing serialization/serialization (4.0.0): Loading from cache
  - Installing data-values/data-values (3.0.0): Loading from cache
  - Installing data-values/serialization (1.2.4): Loading from cache
  - Installing wikimedia/assert (v0.5.0): Loading from cache
  - Installing wikibase/data-model (9.6.1): Loading from cache
  - Installing wikibase/data-model-serialization (2.9.1): Loading from cache
  - Installing diff/diff (3.2.0): Loading from cache
  - Installing wikibase/data-model-services (5.4.0): Loading from cache
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.8+ is recommended.)
wikibase/data-model-serialization suggests installing data-values/geo (Needed for deserialization of geographical values)
wikibase/data-model-serialization suggests installing data-values/number (Needed for deserialization of numerical values)
wikibase/data-model-serialization suggests installing data-values/time (Needed for deserialization of time values)
Writing lock file
Generating autoload files
14 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading n:grunt from 1.3.0 -> 1.4.0
$ npm install

> fibers@4.0.3 install /src/repo/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Binary is fine; exiting

> chromedriver@2.46.0 install /src/repo/node_modules/chromedriver
> node install.js

Current existing ChromeDriver binary is unavailable, proceding with download and extraction.
Downloading from file:  https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip
Saving to file: /tmp/2.46/chromedriver/chromedriver_linux64.zip
Received 781K...
Received 1568K...
Received 2352K...
Received 3136K...
Received 3920K...
Received 4704K...
Received 5277K total.
Extracting zip contents
Copying to target path /src/repo/node_modules/chromedriver/lib/chromedriver
Fixing file permissions
Done. ChromeDriver binary available at /src/repo/node_modules/chromedriver/lib/chromedriver/chromedriver

> core-js@3.11.0 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ejs@3.1.3 postinstall /src/repo/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> wikibase-media-info@0.1.0 install /src/repo
> rm -rf node_modules/mediawiki && git clone -q --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core node_modules/mediawiki

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1085 packages from 998 contributors and audited 1048 packages in 144.284s

100 packages are looking for funding
  run `npm fund` for details

found 134 vulnerabilities (27 moderate, 107 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> ejs@3.1.3 postinstall /src/repo/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> core-js@3.11.0 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> chromedriver@2.46.0 install /src/repo/node_modules/chromedriver
> node install.js

ChromeDriver binary exists. Validating...
ChromeDriver 2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926)

ChromeDriver is already available at '/tmp/2.46/chromedriver/chromedriver'.
Copying to target path /src/repo/node_modules/chromedriver/lib/chromedriver
Fixing file permissions
Done. ChromeDriver binary available at /src/repo/node_modules/chromedriver/lib/chromedriver/chromedriver

> fibers@4.0.3 install /src/repo/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Binary is fine; exiting

> wikibase-media-info@0.1.0 install /src/repo
> rm -rf node_modules/mediawiki && git clone -q --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core node_modules/mediawiki

added 1046 packages in 29.789s

$ npm test

> wikibase-media-info@0.1.0 test /src/repo
> grunt test && npm run test:unit

Running "eslint:all" (eslint) task

/src/repo/resources/filepage/CaptionsPanel.js
  40:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/filepage/StatementPanel.js
  18:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/mediasearch-vue/components/App.vue
  189:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Image.vue
  52:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Observer.vue
  52:19  warning  IntersectionObserver is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Tabs.vue
  95:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/results/PageResult.vue
  17:23  warning  'v-html' directive can lead to XSS attack  vue/no-v-html

/src/repo/resources/mediasearch-vue/components/SearchFilters.vue
  155:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/UserNotice.vue
   9:1  warning  This line has a length of 101. Maximum allowed is 100      max-len
  32:8  warning  Property name "wbmi-search-user-notice" is not PascalCase  vue/component-definition-name-casing

✖ 10 problems (0 errors, 10 warnings)
  0 errors and 1 warning potentially fixable with the `--fix` option.


Running "banana:WikibaseMediaInfo" (banana) task
>> 2 message directories checked.

Running "stylelint:all" (stylelint) task
>> Linted 52 files without errors

Done.

> wikibase-media-info@0.1.0 test:unit /src/repo
> nyc --include='resources/**/*.js' --reporter=lcov --reporter=lcovonly --reporter=text --reporter=text-summary qunit 'tests/node-qunit/**/*.test.js'

TAP version 13
ok 1 ExampleComponentWidget > Edit mode enabled
ok 2 ExampleComponentWidget > Edit mode disabled
ok 3 TemplatingFeatures > Toggle edit mode
ok 4 BestPractices > Valid data roundtrip
ok 5 Setting other data triggers a change event
ok 6 Setting same data does not trigger a change event
ok 7 ComponentWidget > Widget renders with default state
ok 8 ComponentWidget > Widget rerenders with new state
ok 9 ComponentWidget > Widget renders with changed template data
ok 10 ComponentWidget > Widget renders with async changed template data
ok 11 ComponentWidget > Widget will not rerender on state change if stopped
ok 12 ComponentWidget > Widget will only rerender once when multiple state changes happen during previous render
ok 13 DOMLessGroupWidget > Test item is added to group
ok 14 DOMLessGroupWidget > Test item DOM is not changed after inserting into group
ok 15 CaptionsPanel > When pre-existing statements are present on page > initialization works without errors
ok 16 CaptionsPanel > When pre-existing statements are present on page > user languages are added to DOM
ok 17 LicenseDialogWidget > constructor
ok 18 LicenseDialogWidget > User is not logged in and has not accepted license > getLicenseConfirmation returns zero
ok 19 LicenseDialogWidget > User is not logged in and has not accepted license > storeLicenseConfirmation sets value of the appropriate key to 1
ok 20 LicenseDialogWidget > User is logged in and has not accepted license > getLicenseConfirmation returns zero
ok 21 LicenseDialogWidget > User is logged in and has not accepted license > storeLicenseConfirmation saves to user preferences
ok 22 ProtectionMsgWidget > constructor
ok 23 ProtectionMsgWidget > Page is not protected > Protection message widget does not display
ok 24 ProtectionMsgWidget > Page is protected > Protection message widget displays
ok 25 StatementPanel > When no pre-existing statements are present on page > constructor
ok 26 StatementPanel > When no pre-existing statements are present on page > isEditable() is false by default
ok 27 StatementPanel > When no pre-existing statements are present on page > User is not logged in and has not accepted license > LicenseDialogWidget is displayed when user attempts to edit
ok 28 mediainfo.template.mustache+dom > Render mustache templates
ok 29 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Nodes are parsed into template
ok 30 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Events triggered from template-based HTML propagate to original element handlers
ok 31 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Changes to node later on propagate into DOM rendered by template
ok 32 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Nodes are parsed into template
ok 33 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Events triggered from template-based HTML propagate to original element handlers
ok 34 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Changes to node later on propagate into DOM rendered by template
ok 35 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Nodes are parsed into template
ok 36 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Events triggered from template-based HTML propagate to original element handlers
ok 37 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Changes to node later on propagate into DOM rendered by template
jQuery.Deferred exception: navigator is not defined ReferenceError: navigator is not defined
    at OoUiWindowManager.OO.ui.WindowManager.togglePreventIosScrolling (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24215:37)
    at /src/repo/node_modules/oojs-ui/dist/oojs-ui.js:23931:15
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3557:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3625:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10) undefined
ok 38 AddPropertyWidget > Adding property ids changes the filters
ok 39 AddPropertyWidget > Property input widget & remove are only visible in edit mode
ok 40 ItemWidget > Valid data roundtrip
ok 41 ItemWidget > Setting other data triggers a change event
ok 42 ItemWidget > Setting same data does not trigger a change event
ok 43 ItemWidget > Widget updates qualifier widgets with new data
ok 44 ItemWidget > createQualifier() returns a new QualifierWidget
ok 45 ItemWidget > createQualifier sets QualifierWidget data when snak is provided
ok 46 ItemWidget > addQualifier creates a new QualifierWidget every time it is called
ok 47 ItemWidget > Test enabling edit state
ok 48 ItemWidget > Test disabling edit state
ok 49 ItemWidget > Toggling item prominence changes item rank
ok 50 ItemWidget > Valid data roundtrip with somevalue snak
ok 51 ItemWidget > Valid data roundtrip with novalue snak
ok 52 LinkNoticeWidget > constructor
ok 53 LinkNoticeWidget > User is not logged in. > Widget should be visible if not previously dismissed
ok 54 LinkNoticeWidget > User is not logged in. > Widget should not be visible if previously dismissed
ok 55 LinkNoticeWidget > User is not logged in. > dismiss method should store data in local storage for anon users
ok 56 LinkNoticeWidget > User is not logged in. > dismiss method should dismiss the widget
ok 57 LinkNoticeWidget > User is logged-in > Widget should be visible if not previously dismissed
ok 58 LinkNoticeWidget > User is logged-in > Widget should not be visible if previously dismissed
ok 59 LinkNoticeWidget > User is logged-in > dismiss method should store data in user preferences for logged in users
ok 60 QualifierWidget > Valid data roundtrip
ok 61 QualifierWidget > Setting other data triggers a change event
ok 62 QualifierWidget > Setting same data does not trigger a change event
ok 63 QualifierWidget > setData() sets property ID in the PropertyInput widget
ok 64 QualifierWidget > setData() sets value data in the valueInput widget
ok 65 QualifierWidget > Property labels are available after API calls complete
ok 66 QualifierWidget > Test enabling edit state
ok 67 QualifierWidget > Test disabling edit state
ok 68 QualifierWidget > Valid data roundtrip with somevalue snak
ok 69 QualifierWidget > Valid data roundtrip with novalue snak
ok 70 StatementWidget > Valid data roundtrip
ok 71 StatementWidget > Setting other data triggers a change event
ok 72 StatementWidget > Setting same data does not trigger a change event
ok 73 StatementWidget > Test detection of changes
ok 74 StatementWidget > Test enabling edit state
ok 75 StatementWidget > Test disabling edit state
ok 76 StatementWidget > Widget can handle multiple errors
ok 77 EntityInputWidget > Valid data roundtrip
ok 78 EntityInputWidget > Setting other data triggers a change event
ok 79 EntityInputWidget > Setting same data does not trigger a change event
ok 80 GlobeCoordinateInputWidget > Valid data roundtrip
ok 81 GlobeCoordinateInputWidget > Setting other data triggers a change event
ok 82 GlobeCoordinateInputWidget > Setting same data does not trigger a change event
ok 83 MonolingualText > Valid data roundtrip
ok 84 MonolingualText > Setting other data triggers a change event
ok 85 MonolingualText > Setting same data does not trigger a change event
ok 86 MonolingualText > Widget has no button in qualifier mode
ok 87 MonolingualText > Widget has button in statement mode
ok 88 MultiTypeInputWrapperWidget > Valid data roundtrip (wikibase-entityid)
ok 89 MultiTypeInputWrapperWidget > Valid data roundtrip (string)
ok 90 MultiTypeInputWrapperWidget > Valid data roundtrip (monolingualtext)
ok 91 MultiTypeInputWrapperWidget > Valid data roundtrip (quantity)
ok 92 MultiTypeInputWrapperWidget > Valid data roundtrip (time)
ok 93 MultiTypeInputWrapperWidget > Valid data roundtrip (globecoordinate)
ok 94 MultiTypeInputWrapperWidget > Valid data roundtrip (unsupported)
ok 95 MultiTypeInputWrapperWidget > Setting other data triggers a change event
ok 96 MultiTypeInputWrapperWidget > Setting same data does not trigger a change event
ok 97 MultiTypeInputWrapperWidget > Changing to same input type leaves existing value unaltered
ok 98 MultiTypeInputWrapperWidget > Changing to other input type (and back) wipes out existing data
ok 99 MultiTypeInputWrapperWidget > Widget creates the correct input type
ok 100 MultiTypeInputWrapperWidget > add event is fired when child input emits add
ok 101 MultiTypeInputWrapperWidget > setErrors adds MessageWidget to UI and flags string input as invalid
ok 102 MultiTypeInputWrapperWidget > Widget can handle multiple errors
ok 103 MultiTypeInputWrapperWidget > Setting snak type to somevalue changes input to disabled string input
ok 104 MultiTypeInputWrapperWidget > Setting snak type to novalue changes input to disabled string input
ok 105 MultiTypeInputWrapperWidget > Setting snak type to value changes input to original type
ok 106 MultiTypeInputWrapperWidget > Datatype can be set explicitly
ok 107 QuantityInputWidget > Valid data roundtrip
ok 108 QuantityInputWidget > Setting other data triggers a change event
ok 109 QuantityInputWidget > Setting same data does not trigger a change event
ok 110 QuantityInputWidget > Widget has no button in qualifier mode
ok 111 QuantityInputWidget > Widget has button in statement mode
ok 112 QuantityInputWidget > Widget displays no options by default
ok 113 QuantityInputWidget > Widget displays button to add unit when focused
ok 114 QuantityInputWidget > Widget displays custom unit when it has one
ok 115 StringInputWidget > Valid data roundtrip
ok 116 StringInputWidget > Setting other data triggers a change event
ok 117 StringInputWidget > Setting same data does not trigger a change event
ok 118 StringInputWidget > Widget has no button in qualifier mode
ok 119 StringInputWidget > Widget has button in statement mode
ok 120 TimeInputWidget > Valid data roundtrip
ok 121 TimeInputWidget > Setting other data triggers a change event
ok 122 TimeInputWidget > Setting same data does not trigger a change event
ok 123 TimeInputWidget > Widget has no button in qualifier mode
ok 124 TimeInputWidget > Widget has button in statement mode
1..124
# pass 124
# skip 0
# todo 0
# fail 0
-------------------------------------|---------|----------|---------|---------|---------------------
File                                 | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s   
-------------------------------------|---------|----------|---------|---------|---------------------
All files                            |   66.39 |    52.49 |   54.45 |   66.42 |                     
 resources                           |   86.42 |    77.78 |   73.33 |   86.42 |                     
  UlsWidget.js                       |    72.5 |       50 |      60 |    72.5 | ...2-53,69-73,82-83 
  mediawiki.template.mustache+dom.js |     100 |      100 |     100 |     100 |                     
 resources/README                    |     100 |    92.86 |     100 |     100 |                     
  1.ExampleComponentWidget.js        |     100 |     87.5 |     100 |     100 | 137                 
  2.TemplatingFeatures.js            |     100 |      100 |     100 |     100 |                     
  3.BestPractices.js                 |     100 |      100 |     100 |     100 |                     
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/base                      |   93.23 |    88.29 |    87.1 |   93.23 |                     
  ComponentWidget.js                 |   94.15 |    87.91 |   91.67 |   94.15 | ...,573,604,664-666 
  DOMLessGroupWidget.js              |     100 |      100 |     100 |     100 |                     
  FormatValueElement.js              |   86.84 |       90 |   63.64 |   86.84 | 45,80,100,106,117   
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/datamodel                 |   35.29 |        0 |      20 |   35.29 |                     
  MediaInfo.js                       |   35.29 |        0 |      20 |   35.29 | 33-77               
 resources/filepage                  |   45.51 |    26.07 |   25.68 |   45.58 |                     
  AnonWarning.js                     |     100 |       50 |     100 |     100 | 19                  
  CancelPublishWidget.js             |   70.59 |      100 |      20 |   70.59 | 39,43,47-48,52      
  CaptionData.js                     |     100 |       75 |     100 |     100 | 13                  
  CaptionDataEditor.js               |   24.59 |        0 |       0 |   24.59 | ...,168,175,182,189 
  CaptionsEditActionsWidget.js       |   71.43 |      100 |      20 |   71.43 | 40,44,48-49,53-54   
  CaptionsPanel.js                   |   44.48 |    32.58 |   28.79 |   44.64 | ...-816,826-828,834 
  LicenseDialogWidget.js             |   80.95 |    57.14 |   83.33 |   80.95 | 32,34-35,40-47      
  ProtectionMsgWidget.js             |     100 |      100 |     100 |     100 |                     
  StatementPanel.js                  |   48.98 |    26.92 |   20.83 |   48.98 | ...,241,250,264-271 
  init.js                            |   17.58 |    16.67 |    5.88 |   17.58 | 36-158,177-273      
 resources/mediasearch-vue           |   14.81 |        0 |   14.29 |   14.81 |                     
  init.js                            |   14.81 |        0 |   14.29 |   14.81 | 8-78                
 resources/polyfills                 |    6.25 |     12.5 |       0 |    6.25 |                     
  Array.prototype.find.js            |    6.25 |     12.5 |       0 |    6.25 | 5-43                
  Array.prototype.findIndex.js       |    6.25 |     12.5 |       0 |    6.25 | 5-43                
 resources/serialization             |      50 |        0 |      50 |      50 |                     
  MediaInfoDeserializer.js           |      50 |        0 |      50 |      50 | 30-37               
 resources/statements                |   70.44 |    59.36 |   63.64 |   70.44 |                     
  AddPropertyWidget.js               |   86.11 |     87.5 |   55.56 |   86.11 | 86,101,119,130-132  
  ConstraintsReportHandlerElement.js |   21.88 |        0 |      20 |   21.88 | ...1,73-107,123-141 
  ItemWidget.js                      |   77.33 |    72.13 |   71.43 |   77.33 | ...,419-457,471-496 
  LinkNoticeWidget.js                |     100 |      100 |     100 |     100 |                     
  QualifierWidget.js                 |   93.94 |    75.68 |      80 |   93.94 | 127,165,234-236,321 
  StatementWidget.js                 |   56.97 |    46.24 |   55.56 |   56.97 | ...,663-683,696-710 
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/statements/config         |     100 |      100 |     100 |     100 |                     
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/statements/inputs         |   72.06 |    56.94 |   59.04 |   72.06 |                     
  AbstractInputWidget.js             |   39.29 |        0 |    9.09 |   39.29 | ...6,95,113-143,160 
  EntityAutocompleteInputWidget.js   |   44.35 |    37.74 |   36.84 |   44.35 | ...,261-290,298-316 
  EntityInputWidget.js               |     100 |      100 |     100 |     100 |                     
  GlobeCoordinateInputWidget.js      |    66.3 |       45 |   55.56 |    66.3 | ...,560-569,583-586 
  MonolingualTextInputWidget.js      |   84.21 |     62.5 |   71.43 |   84.21 | ...,138-141,148,164 
  MultiTypeInputWrapperWidget.js     |   93.27 |    87.88 |   79.17 |   93.27 | ...,241,314,330-334 
  QuantityInputWidget.js             |   71.96 |    66.67 |   45.45 |   71.96 | ...,284-292,304,320 
  StringInputWidget.js               |   88.37 |       75 |   83.33 |   88.37 | 59,103-105,112      
  TimeInputWidget.js                 |   71.64 |    56.25 |   58.06 |   71.64 | ...,327-359,367,384 
  UnsupportedInputWidget.js          |   88.24 |       75 |   66.67 |   88.24 | 50,71,84,91         
  index.js                           |     100 |      100 |     100 |     100 |                     
-------------------------------------|---------|----------|---------|---------|---------------------

=============================== Coverage summary ===============================
Statements   : 66.39% ( 1685/2538 )
Branches     : 52.49% ( 442/842 )
Functions    : 54.45% ( 306/562 )
Lines        : 66.42% ( 1685/2537 )
================================================================================

Attempting to npm audit fix
$ npm audit fix --only=dev
+ jquery@3.6.0
+ oojs-ui@0.41.3
added 2 packages from 1 contributor and updated 10 packages in 19.708s

96 packages are looking for funding
  run `npm fund` for details

fixed 126 of 134 vulnerabilities in 1048 scanned packages
  7 vulnerabilities required manual review and could not be updated
  1 package update for 1 vulnerability involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)

$ npm audit fix --only=dev
updated 1 package in 5.619s

96 packages are looking for funding
  run `npm fund` for details

fixed 1 of 8 vulnerabilities in 1050 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
up to date in 5.427s

96 packages are looking for funding
  run `npm fund` for details

fixed 0 of 7 vulnerabilities in 1050 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> ejs@3.1.3 postinstall /src/repo/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> core-js@3.11.0 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> chromedriver@2.46.0 install /src/repo/node_modules/chromedriver
> node install.js

ChromeDriver binary exists. Validating...
ChromeDriver 2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926)

ChromeDriver is already available at '/tmp/2.46/chromedriver/chromedriver'.
Copying to target path /src/repo/node_modules/chromedriver/lib/chromedriver
Fixing file permissions
Done. ChromeDriver binary available at /src/repo/node_modules/chromedriver/lib/chromedriver/chromedriver

> fibers@4.0.3 install /src/repo/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Binary is fine; exiting

> wikibase-media-info@0.1.0 install /src/repo
> rm -rf node_modules/mediawiki && git clone -q --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core node_modules/mediawiki

added 1048 packages in 28.771s

$ npm test

> wikibase-media-info@0.1.0 test /src/repo
> grunt test && npm run test:unit

Running "eslint:all" (eslint) task

/src/repo/resources/filepage/CaptionsPanel.js
  40:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/filepage/StatementPanel.js
  18:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/mediasearch-vue/components/App.vue
  189:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Image.vue
  52:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Observer.vue
  52:19  warning  IntersectionObserver is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/base/Tabs.vue
  95:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/results/PageResult.vue
  17:23  warning  'v-html' directive can lead to XSS attack  vue/no-v-html

/src/repo/resources/mediasearch-vue/components/SearchFilters.vue
  155:28  warning  IntersectionObserverEntry is not supported in Safari 9.1, IE 11  compat/compat

/src/repo/resources/mediasearch-vue/components/UserNotice.vue
   9:1  warning  This line has a length of 101. Maximum allowed is 100      max-len
  32:8  warning  Property name "wbmi-search-user-notice" is not PascalCase  vue/component-definition-name-casing

✖ 10 problems (0 errors, 10 warnings)
  0 errors and 1 warning potentially fixable with the `--fix` option.


Running "banana:WikibaseMediaInfo" (banana) task
>> 2 message directories checked.

Running "stylelint:all" (stylelint) task
>> Linted 52 files without errors

Done.

> wikibase-media-info@0.1.0 test:unit /src/repo
> nyc --include='resources/**/*.js' --reporter=lcov --reporter=lcovonly --reporter=text --reporter=text-summary qunit 'tests/node-qunit/**/*.test.js'

TAP version 13
not ok 1 ExampleComponentWidget > Edit mode enabled
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/1.ExampleComponentWidget.test.js:6:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidgetConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidgetConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidgetConstructor (/src/repo/resources/README/1.ExampleComponentWidget.js:32:280)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/1.ExampleComponentWidget.test.js:9:13)
  ...
not ok 2 ExampleComponentWidget > Edit mode disabled
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/1.ExampleComponentWidget.test.js:18:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidgetConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidgetConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidgetConstructor (/src/repo/resources/README/1.ExampleComponentWidget.js:32:280)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/1.ExampleComponentWidget.test.js:21:13)
  ...
not ok 3 TemplatingFeatures > Toggle edit mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/2.TemplatingFeatures.test.js:7:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at TemplatingFeaturesConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at TemplatingFeaturesConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new TemplatingFeaturesConstructor (/src/repo/resources/README/2.TemplatingFeatures.js:16:268)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/2.TemplatingFeatures.test.js:10:13)
  ...
not ok 4 BestPractices > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:7:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at BestPracticesConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at BestPracticesConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new BestPracticesConstructor (/src/repo/resources/README/3.BestPractices.js:14:253)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:10:13)
  ...
not ok 5 Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:21:7)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module.replacementCompile (/src/repo/node_modules/append-transform/index.js:60:13)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.<anonymous> (/src/repo/node_modules/append-transform/index.js:64:4)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at BestPracticesConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at BestPracticesConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new BestPracticesConstructor (/src/repo/resources/README/3.BestPractices.js:14:253)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:24:12)
  ...
not ok 6 Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:38:7)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module.replacementCompile (/src/repo/node_modules/append-transform/index.js:60:13)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.<anonymous> (/src/repo/node_modules/append-transform/index.js:64:4)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at BestPracticesConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at BestPracticesConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new BestPracticesConstructor (/src/repo/resources/README/3.BestPractices.js:14:253)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/README/3.BestPractices.test.js:41:12)
  ...
not ok 7 ComponentWidget > Widget renders with default state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:41:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:43:13)
  ...
not ok 8 ComponentWidget > Widget rerenders with new state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:51:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:53:13)
  ...
not ok 9 ComponentWidget > Widget renders with changed template data
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:61:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:63:13)
  ...
not ok 10 ComponentWidget > Widget renders with async changed template data
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:77:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:79:13)
  ...
not ok 11 ComponentWidget > Widget will not rerender on state change if stopped
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:96:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:98:13)
  ...
not ok 12 ComponentWidget > Widget will only rerender once when multiple state changes happen during previous render
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:111:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at ExampleComponentWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at ExampleComponentWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ExampleComponentWidget (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:26:34)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/ComponentWidget.test.js:113:13)
  ...
not ok 13 DOMLessGroupWidget > Test item is added to group
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:39:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at GroupWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at GroupWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new GroupWidget (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:20:23)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:40:18)
  ...
not ok 14 DOMLessGroupWidget > Test item DOM is not changed after inserting into group
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:48:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at GroupWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at GroupWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new GroupWidget (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:20:23)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/base/DOMLessGroupWidget.test.js:49:18)
  ...
not ok 15 CaptionsPanel > When pre-existing statements are present on page > initialization works without errors
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/CaptionsPanel.test.js:32:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at CaptionsPanel.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at CaptionsPanel.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new CaptionsPanel (/src/repo/resources/filepage/CaptionsPanel.js:39:46)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/CaptionsPanel.test.js:42:10)
  ...
not ok 16 CaptionsPanel > When pre-existing statements are present on page > user languages are added to DOM
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/CaptionsPanel.test.js:47:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at CaptionsPanel.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at CaptionsPanel.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new CaptionsPanel (/src/repo/resources/filepage/CaptionsPanel.js:39:46)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/CaptionsPanel.test.js:57:10)
  ...
not ok 17 LicenseDialogWidget > constructor
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:10:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiMessageDialog.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiMessageDialog.OoUiWindow (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24933:21)
    at OoUiMessageDialog.OoUiDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25625:21)
    at new OoUiMessageDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25971:28)
    at new LicenseDialogWidget (/src/repo/resources/filepage/LicenseDialogWidget.js:4:119)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:13:3)
  ...
not ok 18 LicenseDialogWidget > User is not logged in and has not accepted license > getLicenseConfirmation returns zero
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:22:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiMessageDialog.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiMessageDialog.OoUiWindow (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24933:21)
    at OoUiMessageDialog.OoUiDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25625:21)
    at new OoUiMessageDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25971:28)
    at new LicenseDialogWidget (/src/repo/resources/filepage/LicenseDialogWidget.js:4:119)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:24:19)
  ...
not ok 19 LicenseDialogWidget > User is not logged in and has not accepted license > storeLicenseConfirmation sets value of the appropriate key to 1
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:28:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiMessageDialog.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiMessageDialog.OoUiWindow (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24933:21)
    at OoUiMessageDialog.OoUiDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25625:21)
    at new OoUiMessageDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25971:28)
    at new LicenseDialogWidget (/src/repo/resources/filepage/LicenseDialogWidget.js:4:119)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:30:19)
  ...
not ok 20 LicenseDialogWidget > User is logged in and has not accepted license > getLicenseConfirmation returns zero
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:45:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiMessageDialog.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiMessageDialog.OoUiWindow (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24933:21)
    at OoUiMessageDialog.OoUiDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25625:21)
    at new OoUiMessageDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25971:28)
    at new LicenseDialogWidget (/src/repo/resources/filepage/LicenseDialogWidget.js:4:119)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:50:19)
  ...
not ok 21 LicenseDialogWidget > User is logged in and has not accepted license > storeLicenseConfirmation saves to user preferences
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:54:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiMessageDialog.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiMessageDialog.OoUiWindow (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:24933:21)
    at OoUiMessageDialog.OoUiDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25625:21)
    at new OoUiMessageDialog (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:25971:28)
    at new LicenseDialogWidget (/src/repo/resources/filepage/LicenseDialogWidget.js:4:119)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/LicenseDialogWidget.test.js:56:19)
  ...
not ok 22 ProtectionMsgWidget > constructor
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:12:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ProtectionMsgWidget (/src/repo/resources/filepage/ProtectionMsgWidget.js:4:283)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:14:3)
  ...
not ok 23 ProtectionMsgWidget > Page is not protected > Protection message widget does not display
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:23:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ProtectionMsgWidget (/src/repo/resources/filepage/ProtectionMsgWidget.js:4:283)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:25:13)
  ...
not ok 24 ProtectionMsgWidget > Page is protected > Protection message widget displays
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:39:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new ProtectionMsgWidget (/src/repo/resources/filepage/ProtectionMsgWidget.js:4:283)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/ProtectionMsgWidget.test.js:41:13)
  ...
not ok 25 StatementPanel > When no pre-existing statements are present on page > constructor
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:29:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at StatementPanelConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at StatementPanelConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new StatementPanelConstructor (/src/repo/resources/filepage/StatementPanel.js:21:22)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:40:4)
  ...
not ok 26 StatementPanel > When no pre-existing statements are present on page > isEditable() is false by default
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:45:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at StatementPanelConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at StatementPanelConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new StatementPanelConstructor (/src/repo/resources/filepage/StatementPanel.js:21:22)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:54:10)
  ...
not ok 27 StatementPanel > When no pre-existing statements are present on page > User is not logged in and has not accepted license > LicenseDialogWidget is displayed when user attempts to edit
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:66:10): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at StatementPanelConstructor.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at StatementPanelConstructor.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new StatementPanelConstructor (/src/repo/resources/filepage/StatementPanel.js:21:22)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/filepage/StatementPanel.test.js:75:11)
  ...
ok 28 mediainfo.template.mustache+dom > Render mustache templates
ok 29 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Nodes are parsed into template
ok 30 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Events triggered from template-based HTML propagate to original element handlers
ok 31 mediainfo.template.mustache+dom > Mustache templates with HTMLElement > Changes to node later on propagate into DOM rendered by template
ok 32 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Nodes are parsed into template
ok 33 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Events triggered from template-based HTML propagate to original element handlers
ok 34 mediainfo.template.mustache+dom > Mustache templates with jQuery nodes > Changes to node later on propagate into DOM rendered by template
not ok 35 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Nodes are parsed into template
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:121:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:123:14)
  ...
not ok 36 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Events triggered from template-based HTML propagate to original element handlers
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:134:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:137:14)
  ...
not ok 37 mediainfo.template.mustache+dom > Mustache templates with OOUI widgets > Changes to node later on propagate into DOM rendered by template
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:153:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at new OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/mediainfo.template.mustache+dom.test.js:155:14)
  ...
not ok 38 AddPropertyWidget > Adding property ids changes the filters
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/AddPropertyWidget.test.js:7:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoAddPropertyWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoAddPropertyWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoAddPropertyWidget (/src/repo/resources/statements/AddPropertyWidget.js:8:398)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/AddPropertyWidget.test.js:10:13)
  ...
not ok 39 AddPropertyWidget > Property input widget & remove are only visible in edit mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/AddPropertyWidget.test.js:27:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoAddPropertyWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoAddPropertyWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoAddPropertyWidget (/src/repo/resources/statements/AddPropertyWidget.js:8:398)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/AddPropertyWidget.test.js:30:13)
  ...
not ok 40 ItemWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:11:13)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 41 ItemWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:29:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:32:13)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 42 ItemWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:73:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:76:13)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 43 ItemWidget > Widget updates qualifier widgets with new data
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:117:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:120:13)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 44 ItemWidget > createQualifier() returns a new QualifierWidget
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:186:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:190:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 45 ItemWidget > createQualifier sets QualifierWidget data when snak is provided
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:199:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:203:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 46 ItemWidget > addQualifier creates a new QualifierWidget every time it is called
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:217:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:220:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 47 ItemWidget > Test enabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:246:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:249:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 48 ItemWidget > Test disabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:273:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:276:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 49 ItemWidget > Toggling item prominence changes item rank
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:300:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:303:13)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 50 ItemWidget > Valid data roundtrip with somevalue snak
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:330:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:333:13)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
not ok 51 ItemWidget > Valid data roundtrip with novalue snak
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:349:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsItemWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsItemWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new MediaInfoStatementsItemWidget (/src/repo/resources/statements/ItemWidget.js:25:207)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/ItemWidget.test.js:352:13)
  ...
not ok 52 LinkNoticeWidget > constructor
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:20:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:26:3)
  ...
not ok 53 LinkNoticeWidget > User is not logged in. > Widget should be visible if not previously dismissed
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:37:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:39:14)
  ...
not ok 54 LinkNoticeWidget > User is not logged in. > Widget should not be visible if previously dismissed
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:43:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:49:19)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: mw.message(...).parse is not a function TypeError: mw.message(...).parse is not a function
    at MediaInfoStatementsItemWidget.ItemWidget.getTemplateData (/src/repo/resources/statements/ItemWidget.js:31:497)
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: mw.message(...).parse is not a function TypeError: mw.message(...).parse is not a function
    at MediaInfoStatementsItemWidget.ItemWidget.getTemplateData (/src/repo/resources/statements/ItemWidget.js:31:497)
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10) undefined
not ok 55 LinkNoticeWidget > User is not logged in. > dismiss method should store data in local storage for anon users
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:54:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:57:14)
  ...
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
jQuery.Deferred exception: mw.message(...).parse is not a function TypeError: mw.message(...).parse is not a function
    at MediaInfoStatementsItemWidget.ItemWidget.getTemplateData (/src/repo/resources/statements/ItemWidget.js:31:497)
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10) undefined
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
jQuery.Deferred exception: Node is not defined ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5) undefined
TypeError: mw.message(...).parse is not a function
    at MediaInfoStatementsItemWidget.ItemWidget.getTemplateData (/src/repo/resources/statements/ItemWidget.js:31:497)
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
not ok 56 LinkNoticeWidget > User is not logged in. > dismiss method should dismiss the widget
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:65:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:68:14)
  ...
not ok 57 LinkNoticeWidget > User is logged-in > Widget should be visible if not previously dismissed
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:90:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:92:14)
  ...
not ok 58 LinkNoticeWidget > User is logged-in > Widget should not be visible if previously dismissed
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:96:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:102:19)
  ...
ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiButtonWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiButtonWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new OoUiButtonWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:3973:27)
    at /src/repo/resources/statements/ItemWidget.js:31:1264
    at mightThrow (/src/repo/node_modules/jquery/dist/jquery.js:3766:29)
    at Window.process (/src/repo/node_modules/jquery/dist/jquery.js:3834:12)
    at Timeout.callback [as _onTimeout] (/src/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:665:19)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
not ok 59 LinkNoticeWidget > User is logged-in > dismiss method should store data in user preferences for logged in users
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:106:9): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at LinkNoticeWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at LinkNoticeWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at new LinkNoticeWidget (/src/repo/resources/statements/LinkNoticeWidget.js:7:306)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/LinkNoticeWidget.test.js:109:14)
  ...
not ok 60 QualifierWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:12:13)
  ...
not ok 61 QualifierWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:25:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:28:13)
  ...
not ok 62 QualifierWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:49:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:52:13)
  ...
not ok 63 QualifierWidget > setData() sets property ID in the PropertyInput widget
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:73:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:76:13)
  ...
not ok 64 QualifierWidget > setData() sets value data in the valueInput widget
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:89:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:92:13)
  ...
not ok 65 QualifierWidget > Property labels are available after API calls complete
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:105:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:107:13)
  ...
not ok 66 QualifierWidget > Test enabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:130:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:134:13)
  ...
not ok 67 QualifierWidget > Test disabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:157:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:160:13)
  ...
not ok 68 QualifierWidget > Valid data roundtrip with somevalue snak
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:184:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:188:13)
  ...
not ok 69 QualifierWidget > Valid data roundtrip with novalue snak
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:204:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at new QualifierWidget (/src/repo/resources/statements/QualifierWidget.js:21:45)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/QualifierWidget.test.js:208:13)
  ...
not ok 70 StatementWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 71 StatementWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:36:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 72 StatementWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:77:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 73 StatementWidget > Test detection of changes
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:122:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 74 StatementWidget > Test enabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:210:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 75 StatementWidget > Test disabling edit state
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:242:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 76 StatementWidget > Widget can handle multiple errors
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/StatementWidget.test.js:274:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at new StatementWidget (/src/repo/resources/statements/StatementWidget.js:20:841)
  ...
not ok 77 EntityInputWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:11:13)
  ...
not ok 78 EntityInputWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:22:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:25:13)
  ...
not ok 79 EntityInputWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:40:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/EntityInputWidget.test.js:43:13)
  ...
not ok 80 GlobeCoordinateInputWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:9:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsGlobeCoordinateInputWidget (/src/repo/resources/statements/inputs/GlobeCoordinateInputWidget.js:9:377)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:12:13)
  ...
not ok 81 GlobeCoordinateInputWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:32:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsGlobeCoordinateInputWidget (/src/repo/resources/statements/inputs/GlobeCoordinateInputWidget.js:9:377)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:35:13)
  ...
not ok 82 GlobeCoordinateInputWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:67:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsGlobeCoordinateInputWidget (/src/repo/resources/statements/inputs/GlobeCoordinateInputWidget.js:9:377)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/GlobeCoordinateInputWidget.test.js:70:13)
  ...
not ok 83 MonolingualText > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsMonolingualTextInputWidget (/src/repo/resources/statements/inputs/MonolingualTextInputWidget.js:5:368)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:11:13)
  ...
not ok 84 MonolingualText > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:21:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsMonolingualTextInputWidget (/src/repo/resources/statements/inputs/MonolingualTextInputWidget.js:5:368)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:24:13)
  ...
not ok 85 MonolingualText > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:38:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsMonolingualTextInputWidget (/src/repo/resources/statements/inputs/MonolingualTextInputWidget.js:5:368)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:41:13)
  ...
not ok 86 MonolingualText > Widget has no button in qualifier mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:55:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsMonolingualTextInputWidget (/src/repo/resources/statements/inputs/MonolingualTextInputWidget.js:5:368)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:58:13)
  ...
not ok 87 MonolingualText > Widget has button in statement mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:67:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsMonolingualTextInputWidget (/src/repo/resources/statements/inputs/MonolingualTextInputWidget.js:5:368)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MonolingualTextInputWidget.test.js:70:13)
  ...
not ok 88 MultiTypeInputWrapperWidget > Valid data roundtrip (wikibase-entityid)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:15:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:19:13)
  ...
not ok 89 MultiTypeInputWrapperWidget > Valid data roundtrip (string)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:29:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:32:13)
  ...
not ok 90 MultiTypeInputWrapperWidget > Valid data roundtrip (monolingualtext)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:42:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:45:13)
  ...
not ok 91 MultiTypeInputWrapperWidget > Valid data roundtrip (quantity)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:55:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:58:13)
  ...
not ok 92 MultiTypeInputWrapperWidget > Valid data roundtrip (time)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:68:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:71:13)
  ...
not ok 93 MultiTypeInputWrapperWidget > Valid data roundtrip (globecoordinate)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:87:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:90:13)
  ...
not ok 94 MultiTypeInputWrapperWidget > Valid data roundtrip (unsupported)
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:106:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:109:13)
  ...
not ok 95 MultiTypeInputWrapperWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:119:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:122:13)
  ...
not ok 96 MultiTypeInputWrapperWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:136:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:139:13)
  ...
not ok 97 MultiTypeInputWrapperWidget > Changing to same input type leaves existing value unaltered
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:153:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:156:13)
  ...
not ok 98 MultiTypeInputWrapperWidget > Changing to other input type (and back) wipes out existing data
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:167:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:170:13)
  ...
not ok 99 MultiTypeInputWrapperWidget > Widget creates the correct input type
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:182:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at MediaInfoStatementsEntityAutocompleteInputWidget.OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsEntityAutocompleteInputWidget (/src/repo/resources/statements/inputs/EntityAutocompleteInputWidget.js:17:62)
    at new MediaInfoStatementsEntityInputWidget (/src/repo/resources/statements/inputs/EntityInputWidget.js:12:259)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:192:19)
  ...
not ok 100 MultiTypeInputWrapperWidget > add event is fired when child input emits add
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:234:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:237:13)
  ...
not ok 101 MultiTypeInputWrapperWidget > setErrors adds MessageWidget to UI and flags string input as invalid
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:257:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:260:13)
  ...
not ok 102 MultiTypeInputWrapperWidget > Widget can handle multiple errors
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:274:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:277:13)
  ...
not ok 103 MultiTypeInputWrapperWidget > Setting snak type to somevalue changes input to disabled string input
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:290:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:293:13)
  ...
not ok 104 MultiTypeInputWrapperWidget > Setting snak type to novalue changes input to disabled string input
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:311:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:314:13)
  ...
not ok 105 MultiTypeInputWrapperWidget > Setting snak type to value changes input to original type
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:329:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:332:13)
  ...
not ok 106 MultiTypeInputWrapperWidget > Datatype can be set explicitly
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:348:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsUnsupportedInputWidget (/src/repo/resources/statements/inputs/UnsupportedInputWidget.js:5:339)
    at MultiTypeInputWrapperWidget.createInput (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:37:304)
    at new MultiTypeInputWrapperWidget (/src/repo/resources/statements/inputs/MultiTypeInputWrapperWidget.js:12:376)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/MultiTypeInputWrapperWidget.test.js:351:13)
  ...
not ok 107 QuantityInputWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:11:13)
  ...
not ok 108 QuantityInputWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:21:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:24:13)
  ...
not ok 109 QuantityInputWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:38:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:41:13)
  ...
not ok 110 QuantityInputWidget > Widget has no button in qualifier mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:55:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:58:13)
  ...
not ok 111 QuantityInputWidget > Widget has button in statement mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:67:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:70:13)
  ...
not ok 112 QuantityInputWidget > Widget displays no options by default
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:79:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:82:13)
  ...
not ok 113 QuantityInputWidget > Widget displays button to add unit when focused
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:90:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:93:13)
  ...
not ok 114 QuantityInputWidget > Widget displays custom unit when it has one
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:112:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsQuantityInputWidget (/src/repo/resources/statements/inputs/QuantityInputWidget.js:5:390)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/QuantityInputWidget.test.js:115:13)
  ...
not ok 115 StringInputWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:11:13)
  ...
not ok 116 StringInputWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:21:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:24:13)
  ...
not ok 117 StringInputWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:38:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:41:13)
  ...
not ok 118 StringInputWidget > Widget has no button in qualifier mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:55:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:58:13)
  ...
not ok 119 StringInputWidget > Widget has button in statement mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:67:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsStringInputWidget (/src/repo/resources/statements/inputs/StringInputWidget.js:5:331)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/StringInputWidget.test.js:70:13)
  ...
not ok 120 TimeInputWidget > Valid data roundtrip
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:8:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsTimeInputWidget (/src/repo/resources/statements/inputs/TimeInputWidget.js:9:229)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:11:13)
  ...
not ok 121 TimeInputWidget > Setting other data triggers a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:33:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsTimeInputWidget (/src/repo/resources/statements/inputs/TimeInputWidget.js:9:229)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:36:13)
  ...
not ok 122 TimeInputWidget > Setting same data does not trigger a change event
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:83:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsTimeInputWidget (/src/repo/resources/statements/inputs/TimeInputWidget.js:9:229)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:86:13)
  ...
not ok 123 TimeInputWidget > Widget has no button in qualifier mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:133:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsTimeInputWidget (/src/repo/resources/statements/inputs/TimeInputWidget.js:9:229)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:136:13)
  ...
not ok 124 TimeInputWidget > Widget has button in statement mode
  ---
  message: "Died on test #1     at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:152:8): Node is not defined"
  severity: failed
  actual: null
  expected: undefined
  stack: ReferenceError: Node is not defined
    at Object.OO.ui.Element.static.getDocument (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:897:22)
    at OoUiTextInputWidget.OoUiElement (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:625:29)
    at OoUiTextInputWidget.OoUiWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:1784:21)
    at OoUiTextInputWidget.OoUiInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:9552:26)
    at new OoUiTextInputWidget (/src/repo/node_modules/oojs-ui/dist/oojs-ui.js:11143:30)
    at new MediaInfoStatementsTimeInputWidget (/src/repo/resources/statements/inputs/TimeInputWidget.js:9:229)
    at Object.<anonymous> (/src/repo/tests/node-qunit/mediainfo/statements/inputs/TimeInputWidget.test.js:155:13)
  ...
1..124
# pass 7
# skip 0
# todo 0
# fail 117
-------------------------------------|---------|----------|---------|---------|---------------------
File                                 | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s   
-------------------------------------|---------|----------|---------|---------|---------------------
All files                            |   26.95 |    12.95 |    7.47 |   26.96 |                     
 resources                           |   53.09 |    44.44 |   26.67 |   53.09 |                     
  UlsWidget.js                       |      20 |        0 |       0 |      20 | ...0-96,104,111-112 
  mediawiki.template.mustache+dom.js |   85.37 |       80 |      80 |   85.37 | 23,51-53,60,99      
 resources/README                    |   56.86 |    42.86 |      25 |   56.86 |                     
  1.ExampleComponentWidget.js        |   55.56 |       25 |      20 |   55.56 | ...0,78,137,158-183 
  2.TemplatingFeatures.js            |   64.29 |      100 |   33.33 |   64.29 | 26-31,44,79-80      
  3.BestPractices.js                 |      50 |       50 |      25 |      50 | 24-30,50,72-86      
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/base                      |   18.73 |      2.7 |    8.06 |   18.73 |                     
  ComponentWidget.js                 |   16.59 |      3.3 |   10.42 |   16.59 | ...-654,664-666,676 
  DOMLessGroupWidget.js              |   71.43 |      100 |       0 |   71.43 | 10,24               
  FormatValueElement.js              |   18.42 |        0 |       0 |   18.42 | 16-36,45,58-121     
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/datamodel                 |   35.29 |        0 |      20 |   35.29 |                     
  MediaInfo.js                       |   35.29 |        0 |      20 |   35.29 | 33-77               
 resources/filepage                  |   19.53 |     3.79 |    3.38 |   19.56 |                     
  AnonWarning.js                     |   28.57 |        0 |       0 |   28.57 | 8-20                
  CancelPublishWidget.js             |   17.65 |      100 |       0 |   17.65 | 11-52               
  CaptionData.js                     |   33.33 |        0 |       0 |   33.33 | 13-16               
  CaptionDataEditor.js               |   24.59 |        0 |       0 |   24.59 | ...,168,175,182,189 
  CaptionsEditActionsWidget.js       |   19.05 |      100 |       0 |   19.05 | 15-54               
  CaptionsPanel.js                   |   15.66 |     1.12 |    1.52 |   15.71 | ...,826-828,834,838 
  LicenseDialogWidget.js             |   19.05 |        0 |   16.67 |   19.05 | ...,54,79-86,97-105 
  ProtectionMsgWidget.js             |   54.55 |      100 |   33.33 |   54.55 | 13,20-30,40         
  StatementPanel.js                  |   24.49 |        0 |    4.17 |   24.49 | ...,241,250,264-271 
  init.js                            |   17.58 |    16.67 |    5.88 |   17.58 | 36-158,177-273      
 resources/mediasearch-vue           |   14.81 |        0 |   14.29 |   14.81 |                     
  init.js                            |   14.81 |        0 |   14.29 |   14.81 | 8-78                
 resources/polyfills                 |    6.25 |     12.5 |       0 |    6.25 |                     
  Array.prototype.find.js            |    6.25 |     12.5 |       0 |    6.25 | 5-43                
  Array.prototype.findIndex.js       |    6.25 |     12.5 |       0 |    6.25 | 5-43                
 resources/serialization             |      50 |        0 |      50 |      50 |                     
  MediaInfoDeserializer.js           |      50 |        0 |      50 |      50 | 30-37               
 resources/statements                |   27.87 |    21.46 |    9.92 |   27.87 |                     
  AddPropertyWidget.js               |   41.67 |       50 |   11.11 |   41.67 | ...,112,119,130-132 
  ConstraintsReportHandlerElement.js |   21.88 |        0 |       0 |   21.88 | ...1,73-107,123-141 
  ItemWidget.js                      |      34 |    31.15 |   17.86 |      34 | ...,419-457,471-496 
  LinkNoticeWidget.js                |      60 |       75 |      60 |      60 | 21,36-55,68-75      
  QualifierWidget.js                 |   33.33 |    10.81 |      10 |   33.33 | ...-299,309-312,321 
  StatementWidget.js                 |   16.39 |    15.05 |    1.85 |   16.39 | ...,663-683,696-710 
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/statements/config         |     100 |      100 |     100 |     100 |                     
  index.js                           |     100 |      100 |     100 |     100 |                     
 resources/statements/inputs         |   30.68 |    14.35 |    5.32 |   30.68 |                     
  AbstractInputWidget.js             |   39.29 |        0 |       0 |   39.29 | ...6,95,113-143,160 
  EntityAutocompleteInputWidget.js   |   23.48 |    18.87 |    5.26 |   23.48 | ...,261-290,298-316 
  EntityInputWidget.js               |   45.95 |    66.67 |      10 |   45.95 | ...2-94,102,109-110 
  GlobeCoordinateInputWidget.js      |   20.99 |        5 |    2.78 |   20.99 | ...,560-569,583-586 
  MonolingualTextInputWidget.js      |   43.86 |       25 |    7.14 |   43.86 | ...,148,155-157,164 
  MultiTypeInputWrapperWidget.js     |    37.5 |     6.06 |    8.33 |    37.5 | ...,343,352,359-364 
  QuantityInputWidget.js             |    27.1 |    11.11 |    4.55 |    27.1 | ...,304,311-313,320 
  StringInputWidget.js               |   48.84 |       50 |    8.33 |   48.84 | ...,112,119-120,127 
  TimeInputWidget.js                 |   24.63 |     6.25 |    3.23 |   24.63 | ...,393-422,432-448 
  UnsupportedInputWidget.js          |      50 |     12.5 |   11.11 |      50 | ...-76,84,91,99-100 
  index.js                           |     100 |      100 |     100 |     100 |                     
-------------------------------------|---------|----------|---------|---------|---------------------

=============================== Coverage summary ===============================
Statements   : 26.95% ( 684/2538 )
Branches     : 12.95% ( 109/842 )
Functions    : 7.47% ( 42/562 )
Lines        : 26.96% ( 684/2537 )
================================================================================
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! wikibase-media-info@0.1.0 test:unit: `nyc --include='resources/**/*.js' --reporter=lcov --reporter=lcovonly --reporter=text --reporter=text-summary qunit 'tests/node-qunit/**/*.test.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the wikibase-media-info@0.1.0 test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /cache/_logs/2021-06-10T23_51_49_283Z-debug.log
npm ERR! Test failed.  See above for more details.

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1318, in main
    libup.run(args.repo, args.output, args.branch)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1263, in run
    self.npm_audit_fix(new_npm_audit)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 207, in npm_audit_fix
    self.check_call(['npm', 'test'])
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/shell2.py", line 40, in check_call
    res.check_returncode()
  File "/usr/lib/python3.7/subprocess.py", line 428, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['npm', 'test']' returned non-zero exit status 1.

composer dependencies

Dependencies
Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.