We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb96ac commit e257981Copy full SHA for e257981
spec/chromium-spec.js
@@ -1568,9 +1568,9 @@ describe('font fallback', () => {
1568
const fonts = await getRenderedFonts(html)
1569
expect(fonts).to.be.an('array')
1570
expect(fonts).to.have.length(1)
1571
- expect(fonts[0].familyName).to.equal({
1572
- 'win32': 'Meiryo',
1573
- 'darwin': 'Hiragino Kaku Gothic ProN'
+ expect(fonts[0].familyName).to.be.oneOf({
+ 'win32': ['Meiryo', 'Yu Gothic'],
+ 'darwin': ['Hiragino Kaku Gothic ProN']
1574
}[process.platform])
1575
})
1576
0 commit comments