Skip to content

Test failures in latest woofmark update due to ES6 inclusion #607

@jywarren

Description

@jywarren

In #597 we started seeing test failures - @keshav234156 opened #602 to revert.

However, the test failures don't trigger a Travis failure, so we weren't seeing them; see this for example:

https://travis-ci.com/github/publiclab/PublicLab.Editor/jobs/379516209

     ReferenceError: Can't find variable: PL in file:///home/travis/build/publiclab/PublicLab.Editor/spec/javascripts/button_spec.js (line 7) (1)
     Expected false to be true. (2)

It looks like potentially a syntax error in our Jasmine tests, under jasmine:publiclabeditor.

The commits were:

Bumps woofmark from 12e2c1d to 39237b7.

  • 39237b7 heading test (#34)
  • 7a47ab7 Fix .gitpod.yml syntax (missing '-' in tasks) (#28)
  • 3a346a6 Bump jest from 26.1.0 to 26.2.2 (#36)
  • a5b9afa Bump browserify from 8.1.0 to 16.5.2 (#38)
  • a35205a Bump jshint from 2.11.1 to 2.12.0 (#37)
  • 8160220 Replacing uglify-js with Terser (#29)
  • e6f56ea fix bold texts loosing formatting after converting to markdown and back to wy...
  • e9e7bb4 add dependencies for tests and modify jest.config (#17)
  • 9bd0750 Install gitpod for auto-built previews on each PR (#16)
  • 4f8d765 Merge pull request #13 from NitinBhasneria/latestChanges
  • Additional commits viewable in compare view

Let's take a close look and see what could have caused this. Notice that Jest tests did not fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions