forked from mystiq/hydrogen-web
fix test
This commit is contained in:
parent
3154b047a6
commit
1699600ffc
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ export function tests() {
|
||||||
return {
|
return {
|
||||||
"add cache buster": assert => {
|
"add cache buster": assert => {
|
||||||
const random = () => 0.5;
|
const random = () => 0.5;
|
||||||
assert.equals(addCacheBuster("http://foo", random), "http://foo?_cacheBuster=5");
|
assert.equal(addCacheBuster("http://foo", random), "http://foo?_cacheBuster=4503599627370496");
|
||||||
assert.equals(addCacheBuster("http://foo?bar=baz", random), "http://foo?bar=baz&_cacheBuster=5");
|
assert.equal(addCacheBuster("http://foo?bar=baz", random), "http://foo?bar=baz&_cacheBuster=4503599627370496");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue