Created
February 10, 2017 17:38
-
-
Save anonymous/f8649e96776a2234b49a8e4eefbb491c to your computer and use it in GitHub Desktop.
JS Bin Sanity Test // source https://jsbin.com/tatomu
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