Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. export module FirstModule {
  2. export class firstClass {
  3. id:number;
  4. name:string;
  5. }
  6. }
  7.  
  8. import { FirstModule } from "./first";
  9.  
  10. describe('example test', function () {
  11. let _first
  12. beforeEach(() => {
  13. _first = new FirstModule.firstClass();
  14. })
  15.  
  16. it('module defined', function () {
  17. expect(_first).toBeDefined();
  18. });
  19.  
  20. files: [
  21. '*.spec.ts',
  22. '*.ts' //this thing is missing
  23. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement