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

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

Open
kprantis opened this issue Aug 26, 2011 · 0 comments
Open

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

kprantis opened this issue Aug 26, 2011 · 0 comments

Comments

@kprantis
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant