Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Add test (non-working)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Mar 6, 2019
1 parent 3283ed3 commit 6d7c0f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/syntax-highlighter/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,9 @@ test('should work for typescript', () => {
shallow(syntaxHighlighter('let { a, b }: { a: string, b: number } = o;', 'typescript')).html(),
).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');
// });

0 comments on commit 6d7c0f3

Please sign in to comment.