io-ui-jsonform
Version:
HTML JSON form submission polyfill based on http://darobin.github.io/formic/specs/json/ .
16 lines (15 loc) • 376 B
JavaScript
describe('Test Setup', function () {
// Check if tests are running
it('Tests should run', function () {
expect(true).toBe(true)
})
// Check if (modern) DOM and JS is initiated by checking whether CORS is possible
it('DOM should work', function () {
var a;
if ("withCrendentials") {
a = true;
b = false;
}
expect(a).toBe(true)
})
})