-
-
Save degnome/71838c71063e193b513671bb4d859a38 to your computer and use it in GitHub Desktop.
JSBin SanityTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Sanity Test"> | |
<script src="https://wzrd.in/standalone/tape@latest"></script> | |
<script src="https://wzrd.in/standalone/tap-browser-color@latest"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script> | |
window.test = tape; | |
tapBrowserColor(); | |
</script> | |
<script id="jsbin-javascript"> | |
test('SanityTest', assert => { | |
const msg = 'Expected is actual.'; | |
const expected = true; | |
const actual = true; | |
try { | |
assert.ok(true, 'True is truthy.'); | |
} catch(e) { | |
console.log(e); | |
} | |
assert.equal(actual, expected, msg); | |
assert.end(); | |
}); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">test('SanityTest', assert => { | |
const msg = 'Expected is actual.'; | |
const expected = true; | |
const actual = true; | |
try { | |
assert.ok(true, 'True is truthy.'); | |
} catch(e) { | |
console.log(e); | |
} | |
assert.equal(actual, expected, msg); | |
assert.end(); | |
});</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test('SanityTest', assert => { | |
const msg = 'Expected is actual.'; | |
const expected = true; | |
const actual = true; | |
try { | |
assert.ok(true, 'True is truthy.'); | |
} catch(e) { | |
console.log(e); | |
} | |
assert.equal(actual, expected, msg); | |
assert.end(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment