Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

examples.spec.js 386B

12345678910111213141516
  1. const {
  2. parse,
  3. stringify,
  4. transforms,
  5. tokenizers,
  6. } = require('../../lib/index.cjs');
  7. const { examples } = require('./examples');
  8. const table = examples.map((fn) => [fn.name.replace(/_/g, ' '), fn]);
  9. test.each(table)('example - %s', (name, fn) => {
  10. const source = fn.toString();
  11. expect(() =>
  12. fn(source, parse, stringify, transforms, tokenizers)
  13. ).not.toThrow();
  14. });