mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
21 lines
503 B
JavaScript
21 lines
503 B
JavaScript
exports.tests = [
|
|
{
|
|
templateData: {
|
|
userInfo: function(done) {
|
|
done(new Error('Invalid user'));
|
|
}
|
|
},
|
|
expectedFile: require.resolve('./expected.html')
|
|
},
|
|
{
|
|
templateData: {
|
|
userInfo: function(done) {
|
|
setTimeout(function() {
|
|
done(new Error('Invalid user'));
|
|
}, 200);
|
|
}
|
|
},
|
|
expectedFile: require.resolve('./expected.html')
|
|
}
|
|
];
|