mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix test
This commit is contained in:
parent
3154b047a6
commit
1699600ffc
@ -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 New Issue
Block a user