Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.
This repository was archived by the owner on May 5, 2022. It is now read-only.

Not able to access qunit #main or #qunit-fixture? #7

@kprantis

Description

@kprantis

Hello,

I am new to javascript, qunit, and jschilicat, so I apologize ahead if I am showing it.

I am trying to write a test that involves providing test markup. QUnit currently provides #qunit-fixture for this, but it looks like jschilicat is using an older version which still uses the deprecated #main.

(See here: https://github.com/chilicat/JsChilicat/blob/master/JsChilicat/src/main/resources/lib/qunit.js#L341)

But if I try to find either of them from the test, it comes up with no elements. Both:

equal(jQuery("#main").length, 1);

and

equal(jQuery("#qunit-fixture").length, 1);

result in:

Log: FAIL failed, expected: 1 result: 0.

Is this expected behavior? Are we not intended to be able to access these when using jschilicat?

Kelsey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions