import tokens from './token.json'; /** * `tokens` object is generated by Style Dictionary at every buildtime. It is NOT strongly typed (yet). * * It is widely consumed by downstream consumers, components AND applications. * It has wide-ranging impact, therefore any change of values needs to be closely monitored. * * To safeguard against accidental or unintended changes, tokens are snapshotted. */ describe(' tokens', () => { describe('When tokens is generated', () => { it('should match snapshots', () => { expect(tokens).toMatchSnapshot(); }); }); });