[wp-trac] [WordPress Trac] #56250: ReferenceErrors encountered when running QUnit tests

WordPress Trac noreply at wordpress.org
Tue Jul 19 16:35:59 UTC 2022


#56250: ReferenceErrors encountered when running QUnit tests
------------------------------+-----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  javascript        |
------------------------------+-----------------------------
 When running QUnit tests, there are a handful of errors output:

 {{{
 Error: ReferenceError: QUnit is not defined
 at <anonymous>:130:13
 at HTMLDocument.<anonymous> (<anonymous>:132:2)
 }}}

 Even with these errors, no tests actually fail.

 The number of errors also differences between `grun qunit` (3) and
 `qunit:compiled` (6).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56250>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list