build: remove manual tags from platform jasmine tests (#26606)
PR Close #26606
This commit is contained in:
parent
615a515bba
commit
213c25fb08
|
@ -18,8 +18,6 @@ ts_library(
|
|||
jasmine_node_test(
|
||||
name = "test",
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
# dissable since tests are running but not yet passing
|
||||
tags = ["manual"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//tools/testing:node",
|
||||
|
|
|
@ -15,7 +15,7 @@ import {CachedResourceLoader} from '../../src/resource_loader/resource_loader_ca
|
|||
|
||||
import {setTemplateCache} from './resource_loader_cache_setter';
|
||||
|
||||
{
|
||||
if (isBrowser) {
|
||||
describe('CachedResourceLoader', () => {
|
||||
let resourceLoader: CachedResourceLoader;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import {AsyncTestCompleter, beforeEach, describe, expect, inject, it} from '@angular/core/testing/src/testing_internal';
|
||||
import {ResourceLoaderImpl} from '../../src/resource_loader/resource_loader_impl';
|
||||
|
||||
{
|
||||
if (isBrowser) {
|
||||
describe('ResourceLoaderImpl', () => {
|
||||
let resourceLoader: ResourceLoaderImpl;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class BadTemplateUrl {
|
|||
|
||||
// Tests for angular/testing bundle specific to the browser environment.
|
||||
// For general tests, see test/testing/testing_public_spec.ts.
|
||||
{
|
||||
if (isBrowser) {
|
||||
describe('test APIs for the browser', () => {
|
||||
describe('using the async helper', () => {
|
||||
let actuallyDone: boolean;
|
||||
|
|
|
@ -30,7 +30,6 @@ jasmine_node_test(
|
|||
name = "test",
|
||||
bootstrap = ["angular/tools/testing/init_node_spec.js"],
|
||||
# dissable since tests are running but not yet passing
|
||||
tags = ["manual"],
|
||||
deps = [
|
||||
":test_lib",
|
||||
"//tools/testing:node",
|
||||
|
|
|
@ -307,6 +307,7 @@ class CompWithUrlTemplate {
|
|||
TestBed.compileComponents();
|
||||
}));
|
||||
|
||||
isBrowser &&
|
||||
it('should allow to createSync components with templateUrl after explicit async compilation',
|
||||
() => {
|
||||
const fixture = TestBed.createComponent(CompWithUrlTemplate);
|
||||
|
|
|
@ -40,6 +40,9 @@ import 'zone.js/dist/jasmine-patch.js';
|
|||
import {TestBed} from '@angular/core/testing';
|
||||
import {ServerTestingModule, platformServerTesting} from '@angular/platform-server/testing/src/server';
|
||||
import {DominoAdapter} from '@angular/platform-server/src/domino_adapter';
|
||||
import {createDocument} from 'domino';
|
||||
|
||||
TestBed.initTestEnvironment(ServerTestingModule, platformServerTesting());
|
||||
DominoAdapter.makeCurrent();
|
||||
(global as any).document =
|
||||
(DominoAdapter as any).defaultDoc || ((DominoAdapter as any).defaultDoc = createDocument());
|
||||
|
|
Loading…
Reference in New Issue