Skip to content

Error in Azure emitter tests #49381

@JoshLove-msft

Description

@JoshLove-msft
npm run test:emitter

> @azure-typespec/[email protected] test:emitter
> vitest run -c ./emitter/vitest.config.ts --passWithNoTests


 RUN  v3.0.7 /mnt/vss/_work/1/s/eng/packages/http-client-csharp

10:26:37 PM [vite] (ssr) Failed to load source map for /mnt/vss/_work/1/s/eng/packages/http-client-csharp/emitter/test/Unit/property-type.test.ts.
Error: An error occurred while trying to read the map file at property-type.test.js.map
Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/s/eng/packages/http-client-csharp/emitter/test/Unit/property-type.test.js.map'
10:26:37 PM [vite] (ssr) Failed to load source map for /mnt/vss/_work/1/s/eng/packages/http-client-csharp/emitter/test/Unit/usage.test.ts.
Error: An error occurred while trying to read the map file at usage.test.js.map
Error: ENOENT: no such file or directory, open '/mnt/vss/_work/1/s/eng/packages/http-client-csharp/emitter/test/Unit/usage.test.js.map'
##[debug]Agent environment resources - Disk: / Available 192069.94 MB out of 253873.92 MB, Memory: Used 3212.00 MB out of 15991.00 MB, CPU: Usage 27.38%
 ✓ emitter/test/Unit/scalar.test.ts (1 test) 1268ms
   ✓ Test GetInputType for scalar > azureLocation scalar 1266ms
 ✓ emitter/test/Unit/property-type.test.ts (2 tests) 1967ms
   ✓ Test GetInputType for enum > Fixed string enum 1174ms
   ✓ Test GetInputType for enum > Fixed int enum 792ms
 ✓ emitter/test/Unit/usage.test.ts (5 tests) 3106ms
   ✓ Test Usage > Test the usage of body parameter of azure core operation. 1362ms
   ✓ Test Usage > Test the usage of body parameter and return type of azure core resource operation. 713ms
   ✓ Test Usage > Test the usage of body polymorphism type in azure core resource operation. 346ms

Metadata

Metadata

Labels

ClientThis issue is related to a non-management packageCodeGenIssues that relate to code generation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions