Kristiyan Kostadinov e86a1d3441 docs: make all examples compatible with strict mode (#41999)
Turns on the `strict` compiler flag and resolves the compilation errors in the various AIO examples.

PR Close #41999
2021-05-17 10:42:18 -07:00

15 lines
403 B
TypeScript

import { docRegionDefault } from './operators';
describe('squaredNums - operators.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],
[4],
[9],
]);
});
});