Skip to content

Commit

Permalink
fix: Force cast on Text decoration test
Browse files Browse the repository at this point in the history
  • Loading branch information
starsociant committed May 31, 2023
1 parent 638f5dd commit 901108d
Showing 1 changed file with 4 additions and 3 deletions.
@@ -1,7 +1,8 @@
/* eslint-disable jest/valid-describe */
import { Span } from '@bodiless/fclasses';
import { testTokens } from '@bodiless/vital-elements';
import { Span, TokenCollection } from '@bodiless/fclasses';
import { DefaultDomains, testTokens } from '@bodiless/vital-elements';
import { exampleTextDecoration } from '..';

// @todo Fix type matching on text decoration token collection.
describe('TextDecoration', testTokens(Span, exampleTextDecoration));
const tokenCollection = exampleTextDecoration as any as TokenCollection<any, DefaultDomains>;
describe('TextDecoration', testTokens(Span, tokenCollection));

0 comments on commit 901108d

Please sign in to comment.