Commit 00f223f0 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: move QUnit.assert.includes into a new file 'qunit-vidjil.js' (again)

Completes 505386fe.
parent 738d2156
QUnit.assert.includes = function(result, pattern, message ) {
// Checks that the result includes the pattern
// TODO: see and use qunit-regexp !
var res = result.indexOf(pattern) > -1
this.push(res, res, "{includes} " + pattern, message);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment