test(ivy): add/remove fixmes in packages/bazel/test/ngc-wrapped (#27302)

PR Close #27302
This commit is contained in:
Igor Minar 2018-11-27 12:47:38 -08:00
parent eb99753e4a
commit 88c30e231a
3 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@ jasmine_node_test(
":angular_core",
"//packages/bazel/test/ngc-wrapped/empty:empty_tsconfig.json",
"//packages/bazel/test/ngc-wrapped/empty:tsconfig.json",
"//packages/private/testing",
"@build_bazel_rules_typescript//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto",
],
tags = ["fixme-ivy-aot"],
)

View File

@ -5,7 +5,7 @@ package(default_visibility = ["//packages/bazel/test:__subpackages__"])
ng_module(
name = "empty",
srcs = ["empty.ts"],
tags = ["fixme-ivy-aot"],
tags = ["fixme-ivy-aot"], # FW-741: ngtsc breaks tsc module resolution
tsconfig = ":tsconfig.json",
deps = [
"//packages/core",

View File

@ -6,6 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {fixmeIvy} from '@angular/private/testing';
import * as fs from 'fs';
import * as path from 'path';
@ -13,7 +14,10 @@ import {setup} from './test_support';
describe('ngc_wrapped', () => {
it('should work', () => {
// fixmeIvy placeholder to prevent jasmine from erroring out because there are no specs
it('should be removed once the fixmeIvy below is resolved', () => {});
fixmeIvy('FW-741: ngtsc breaks tsc module resolution') && it('should work', () => {
const {read, write, runOneBuild, writeConfig, shouldExist, basePath} = setup();
write('some_project/index.ts', `