Turns on the `strict` compiler flag and resolves the compilation errors in the various AIO examples. PR Close #41999
15 lines
403 B
TypeScript
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],
|
|
]);
|
|
});
|
|
});
|