Skip to content

Commit b89428c

Browse files
committed
Fix tests
1 parent e91898c commit b89428c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/lib/schematics/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ts_library(
4141

4242
filegroup(
4343
name = "schematics_test_fixtures",
44-
srcs = glob(["update/tests/**/*.fixture.ts"]),
44+
srcs = glob(["update/tests/**/*.fixture"]),
4545
testonly = True,
4646
)
4747

src/lib/schematics/update/tests/run-fixtures.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ describe('update fixtures', () => {
2323
// that the fixtures are being copied over to the bin output. Bazel just patches the NodeJS
2424
// resolve function in order to map the module paths to the original file location. Since we
2525
// need to load the content of those fixtures, we need to resolve the original file path.
26-
const testFixturePath = require.resolve(join(fixtureDirPath, 'test.fixture.ts'));
27-
const expectedFixturePath = require.resolve(join(fixtureDirPath, 'expected.fixture.ts'));
26+
const testFixturePath = require.resolve(join(fixtureDirPath, 'test.fixture'));
27+
const expectedFixturePath = require.resolve(join(fixtureDirPath, 'expected.fixture'));
2828

2929
it(`should properly update fixture "${fixtureDirPath}" with the update schematic`, () => {
3030
const runner = new SchematicTestRunner('schematics', migrationCollection);

0 commit comments

Comments
 (0)