Skip to content

Basecoat test files throw Invalid Syntax Closing [#] not found error when running tests in Wheels #14

Description

@zainforbjs

Describe the bug
After installing wheels-basecoat in a Wheels application and attempting to run its tests, the test suite fails with a CFML syntax parsing error.

Error message:

Invalid Syntax Closing [#] not found, at [110:37] in [
it("uiToaster renders a #toaster live region", () => {
];

Failed at:
/vendor/wheels-basecoat/tests/BasecoatV2Spec.cfc:110

This appears to be caused by the # character inside the test description string being interpreted incorrectly by CFML.

To Reproduce
Steps to reproduce the behavior:

  1. Install wheels-basecoat in a Wheels application
  2. Run the package tests
  3. Observe the syntax parsing error in BasecoatV2Spec.cfc

Expected behavior
The tests should run successfully without CFML syntax parsing errors.

Screenshots
Image

Desktop:
OS: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions