Skip to content

Conversation

@mm-gmbd
Copy link

@mm-gmbd mm-gmbd commented Apr 20, 2022

Addresses issue #28

var file = fs.readFileSync('tests/data/docs/has_include_tags.md').toString();
var findHeadingTags = markdownInclude.findIncludeTags(file);
assert.equal(findHeadingTags.length, 2, 'Heading tags length match');
assert.equal(findHeadingTags.length, 3, 'Heading tags length match');
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note I was unable to test these changes, when I run npm test I get the following error:

% npm run test 

> markdown-include-etn@0.4.4 test
> node_modules/.bin/intern-client config=tests/intern.js

internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'dojo/dojo'
Require stack:
- /repos/markdown-include/node_modules/@theintern/dojo/dojo.js
- /repos/markdown-include/node_modules/intern/client.js
- /repos/markdown-include/node_modules/intern/bin/intern-client.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant