Fixed spec checking for highlightjs class
This commit is contained in:
parent
32c6ea2d00
commit
68f863bdda
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue