JsChilicat
JsChilicat copied to clipboard
Not able to access qunit #main or #qunit-fixture?
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