Skip to content

Commit d7b4c2a

Browse files
committed
fix: the tsconfig spec generated for library contains several issues #2481
Align with application generation and reuse angular tsconfig.spec.json
1 parent 5cb8aeb commit d7b4c2a

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

packages/@o3r/workspace/schematics/index.it.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ describe('new otter workspace', () => {
115115
expect(existsSync(path.join(workspacePath, 'project'))).toBe(false);
116116
generatedLibFiles.forEach((file) => expect(existsSync(path.join(inLibraryPath, file))).toBe(true));
117117
expect(() => packageManagerRunOnProject(libName, true, { script: 'build' }, execAppOptions)).not.toThrow();
118+
expect(() => packageManagerRunOnProject(libName, true, { script: 'test' }, execAppOptions)).not.toThrow();
118119
});
119120

120121
test('should generate a monorepo setup', async () => {

packages/@o3r/workspace/schematics/library/templates/ng/tsconfig.spec.json.template

-17
This file was deleted.

tools/github-actions/new-version/packaged-action/LICENSE.txt

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)