mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e86a1d3441
Turns on the `strict` compiler flag and resolves the compilation errors in the various AIO examples. PR Close #41999
15 lines
406 B
TypeScript
15 lines
406 B
TypeScript
import { docRegionDefault } from './operators.2';
|
|
|
|
describe('squareOdd - operators.2.ts', () => {
|
|
it('should return square odds', () => {
|
|
const consoleSpy = jasmine.createSpyObj<Console>('console', ['log']);
|
|
docRegionDefault(consoleSpy);
|
|
expect(consoleSpy.log).toHaveBeenCalledTimes(3);
|
|
expect(consoleSpy.log.calls.allArgs()).toEqual([
|
|
[1],
|
|
[9],
|
|
[25],
|
|
]);
|
|
});
|
|
});
|