You say you tried importing the wildcard and spying on default? What was the issue with that approach? I just ran into this problem and doing this solved it for me:
import * as widget from './widget';
describe('widget spec', () => {
beforeEach(() => {
spyOn(widget, 'default');
});
});