liquid
liquid copied to clipboard
Writing tests with liquid
Is it possible for you to post some examples of writing tests with liquid? I've created a working example but when I run the tests I get an empty string for frag.
describe('Task List', () {
it('should display list of tasks', () {
var frag = new DivElement();
final app = new TaskList()..todos = todos;
injectComponent(app, frag);
expect(frag.innerHtml, ('<div><li>...</li></div>'));
});
});