Fixed spec checking for highlightjs class
This commit is contained in:
parent
32c6ea2d00
commit
68f863bdda
|
@ -76,11 +76,11 @@ describe('iPython notebook renderer', () => {
|
|||
|
||||
it('highlights code', () => {
|
||||
expect(
|
||||
document.querySelector('.hljs'),
|
||||
document.querySelector('.token'),
|
||||
).not.toBeNull();
|
||||
|
||||
expect(
|
||||
document.querySelector('.python'),
|
||||
document.querySelector('.language-python'),
|
||||
).not.toBeNull();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue