Skip to content

Commit

Permalink
WIP: remove leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Jan 16, 2017
1 parent 1b40169 commit 4f9b2b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 55 deletions.
23 changes: 0 additions & 23 deletions examples/hello-world/rollup.config.js

This file was deleted.

33 changes: 1 addition & 32 deletions examples/hello-world/src/test.ts
@@ -1,32 +1 @@
import './polyfills.ts';

import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy.js';
import 'zone.js/dist/sync-test';
import 'zone.js/dist/jasmine-patch';
import 'zone.js/dist/async-test';
import 'zone.js/dist/fake-async-test';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare var __karma__: any;
declare var require: any;

// Prevent Karma from running prematurely.
__karma__.loaded = function () {};

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
// Then we find all the tests.
let context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.
__karma__.start();
//

0 comments on commit 4f9b2b3

Please sign in to comment.