Skip to content

Commit

Permalink
Working test
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Mar 18, 2019
1 parent 6d7c0f3 commit ecfd3fa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/syntax-highlighter/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ test('should work for typescript', () => {
).toContain('cm-variable');
});

// test('should work for swift', () => {
// console.log(shallow(syntaxHighlighter('var x = 0;', 'swift')).html());
// expect(
// shallow(syntaxHighlighter('var x = 0;', 'swift')).html()).toContain('cm-def');
// });
test('should work for swift', () => {
expect(shallow(syntaxHighlighter('var x = 0;', 'swift')).html()).toContain('cm-def');
});

0 comments on commit ecfd3fa

Please sign in to comment.