test: include reftests previewer with docs website (#1799)

This commit is contained in:
Niklas von Hertzen
2019-04-12 23:17:23 -07:00
committed by GitHub
parent a7d881019b
commit cdc4ca8296
14 changed files with 385 additions and 51 deletions

View File

@ -369,7 +369,10 @@ const assertPath = (result, expected, desc) => {
platform: {
name: platform.name,
version: platform.version
}
},
devicePixelRatio: window.devicePixelRatio || 1,
windowWidth: window.innerWidth,
windowHeight: window.innerHeight
}));
});