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.

stringify.spec.js 337B

12345678910111213
  1. const { parse, stringify } = require('../../lib/index.cjs');
  2. test('preserve formatting', () => {
  3. const source = `
  4. /**
  5. * @my-tag {my.type} my-name description line 1
  6. description line 2
  7. * description line 3
  8. */`;
  9. const parsed = parse(source);
  10. const out = stringify(parsed[0]);
  11. expect(out).toBe(source.slice(1));
  12. });