Skip to content

Add TiddlyWiki integration tests #7

@benwebber

Description

@benwebber

The dnd module unit tests are alright, but they're a little cumbersome and don't test the actual macro interface.

It'd be better to test the actual wikitext, using TiddlyWiki itself to render the macro. We'd need to instantiate TiddlyWiki in the test suite, then call Wiki.renderTiddler():

https://github.com/Jermolene/TiddlyWiki5/blob/810033bd71abfad14c7d92f340ce26c33eab4ce8/editions/test/tiddlers/tests/test-wikitext.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions