angular-docs-cn/tools/transpiler/spec/runner.dart.template

14 lines
273 B
Plaintext

import 'package:unittest/unittest.dart';
<% files.forEach(function(file, index) { %>
import '<%= file %>' as spec<%=index%>;
<% }); %>
void main() {
<% files.forEach(function(file, index) { %>
test('<%= file %>', () {
spec<%= index %>.main();
});
<% }); %>
}