Created
November 10, 2015 04:06
-
-
Save lin7sh/66a734397613c73883cb to your computer and use it in GitHub Desktop.
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
(function() { | |
'use strict' | |
let QUnit = global.QUnit = require('qunitjs') | |
let qe = require('qunit-extras') | |
qe.runInContext(global) | |
QUnit.module('Math') | |
QUnit.test('pow', function(assert) { | |
let result = Math.pow(2, 2) | |
assert.ok(result, 4, '2 ** 2 is 4') | |
}) | |
QUnit.load() | |
}.call(this)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment