Fixed spec checking for highlightjs class

This commit is contained in:
Phil Hughes 2017-03-23 17:24:24 +00:00
parent 32c6ea2d00
commit 68f863bdda

View file

@ -76,11 +76,11 @@ describe('iPython notebook renderer', () => {
it('highlights code', () => { it('highlights code', () => {
expect( expect(
document.querySelector('.hljs'), document.querySelector('.token'),
).not.toBeNull(); ).not.toBeNull();
expect( expect(
document.querySelector('.python'), document.querySelector('.language-python'),
).not.toBeNull(); ).not.toBeNull();
}); });
}); });