This PR splits out the main body of untested code into a new Interlinker class which can have unit tests written for it.
It also adds a new eleventy test file to the tests, this makes programmatic use of eleventy to test the plugin directly within eleventy allowing for in-situ testing.
This refactoring is ahead of #19 and will make its implementation easier.
This PR splits out the main body of untested code into a new
Interlinker
class which can have unit tests written for it.It also adds a new eleventy test file to the tests, this makes programmatic use of eleventy to test the plugin directly within eleventy allowing for in-situ testing.
This refactoring is ahead of #19 and will make its implementation easier.