PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@es-joy/jsdoccomment/node_modules/comment-parser/tests/e2e
Просмотр файла: examples.spec.js
const {
parse,
stringify,
transforms,
tokenizers,
} = require('../../lib/index.cjs');
const { examples } = require('./examples');
const table = examples.map((fn) => [fn.name.replace(/_/g, ' '), fn]);
test.each(table)('example - %s', (name, fn) => {
const source = fn.toString();
expect(() =>
fn(source, parse, stringify, transforms, tokenizers)
).not.toThrow();
});
Выполнить команду
Для локальной разработки. Не используйте в интернете!