diff --git a/public/docs/_examples/quickstart/ts/app/app.component.spec.ts b/public/docs/_examples/quickstart/ts/app/app.component.spec.ts deleted file mode 100644 index ec2cfce0cf..0000000000 --- a/public/docs/_examples/quickstart/ts/app/app.component.spec.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { iit,it, ddescribe, describe, expect, injectAsync, TestComponentBuilder, beforeEachProviders } from 'angular2/testing'; -import { provide, Type } from 'angular2/core'; -import { AppComponent } from './app.component'; - -type TCB = TestComponentBuilder; - -describe('AppComponent', () => { - beforeEachProviders(() => []); - - it('should have correct text', injectAsync([TestComponentBuilder], (tcb: TCB) => { - return tcb.createAsync(AppComponent).then((fixture) => { - // fixture.detectChanges(); - var compiled = fixture.debugElement.nativeElement; - - expect(compiled).toContainText('My First Angular 2 App'); - expect(compiled.querySelector('h1')).toHaveText('My First Angular 2 App'); - }); - })); -}); diff --git a/public/docs/_examples/quickstart/ts/app/sanity.spec.ts b/public/docs/_examples/quickstart/ts/app/sanity.spec.ts deleted file mode 100644 index 56d6d4449b..0000000000 --- a/public/docs/_examples/quickstart/ts/app/sanity.spec.ts +++ /dev/null @@ -1,11 +0,0 @@ -describe('universal truths', () => { - it('should do math', () => { - expect(1 + 1).toEqual(2); - - expect(5).toBeGreaterThan(4); - }); - - xit('should skip this', () => { - expect(4).toEqual(40); - }); -}); diff --git a/public/docs/_examples/quickstart/ts/app/test/matchers.ts b/public/docs/_examples/quickstart/ts/app/test/matchers.ts deleted file mode 100644 index 308aafbbe3..0000000000 --- a/public/docs/_examples/quickstart/ts/app/test/matchers.ts +++ /dev/null @@ -1,15 +0,0 @@ -beforeEach(() => { - jasmine.addMatchers({ - toContainText: function() { - return { - compare: function(actual: any, expectedText: string) { - var actualText = actual.textContent; - return { - pass: actualText.indexOf(expectedText) > -1, - get message() { return 'Expected ' + actualText + ' to contain ' + expectedText; } - }; - } - }; - } - }); -});