chore(test): add config for pub serve
testing.
Closes #5580 Closes #5580
This commit is contained in:

committed by
Jeremy Elbourn

parent
1710272b3c
commit
1edb17b8d0
@ -41,7 +41,8 @@ void main() {
|
||||
expect(string.split(','), equals(['foo', 'bar', 'baz']));
|
||||
});
|
||||
|
||||
ngTest('can grab injected values', (@Inject(MyToken) token, TestService testService) {
|
||||
ngTest('can grab injected values',
|
||||
(@Inject(MyToken) token, TestService testService) {
|
||||
expect(token, equals('my string'));
|
||||
expect(testService.status, equals('not ready'));
|
||||
});
|
||||
@ -56,7 +57,8 @@ void main() {
|
||||
});
|
||||
});
|
||||
|
||||
ngTest('create a component using the TestComponentBuilder', (TestComponentBuilder tcb) async {
|
||||
ngTest('create a component using the TestComponentBuilder',
|
||||
(TestComponentBuilder tcb) async {
|
||||
var rootTC = await tcb
|
||||
.overrideTemplate(TestComponent, TEMPLATE)
|
||||
.createAsync(TestComponent);
|
||||
|
Reference in New Issue
Block a user