feat(workspace): make types camel case #6791
Annotations
2 errors
Run JS tests:
packages/@biomejs/js-api/tests/printDiagnostics.test.ts#L23
{
stack: 'Error: \n' +
' at Function.fromError (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/wasm.ts:75:10)\n' +
' at wrapError (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/wasm.ts:85:19)\n' +
' at Biome.tryCatchWrapper (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:149:19)\n' +
' at Biome.printDiagnostics (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:300:15)\n' +
' at /home/runner/work/biome/biome/packages/@biomejs/js-api/tests/printDiagnostics.test.ts:23:22\n' +
' at file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:135:14\n' +
' at file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:60:26\n' +
' at runTest (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:781:17)\n' +
' at runSuite (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15)\n' +
' at runSuite (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15)',
stackTrace: {
stack: 'Error: Error: missing field `verbose_advices`\n' +
' at module.exports.__wbg_new_796382978dfd4fb0 (/home/runner/work/biome/biome/packages/@biomejs/wasm-nodejs/biome_wasm.js:907:17)\n' +
' at null.<anonymous> (wasm://wasm/037c6eb6:1:11894968)\n' +
' at null.<anonymous> (wasm://wasm/037c6eb6:1:10732655)\n' +
' at null.<anonymous> (wasm://wasm/037c6eb6:1:7969160)\n' +
' at null.<anonymous> (wasm://wasm/037c6eb6:1:10777526)\n' +
' at DiagnosticPrinter.print_verbose (/home/runner/work/biome/biome/packages/@biomejs/wasm-nodejs/biome_wasm.js:255:18)\n' +
' at /home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:309:15\n' +
' at Biome.tryCatchWrapper (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:147:11)\n' +
' at Biome.printDiagnostics (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:300:15)\n' +
' at /home/runner/work/biome/biome/packages/@biomejs/js-api/tests/printDiagnostics.test.ts:23:22',
message: 'Error: missing field `verbose_advices`',
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
stackStr: 'Error: \n' +
' at Function.fromError (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/wasm.ts:75:10)\n' +
' at wrapError (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/wasm.ts:85:19)\n' +
' at Biome.tryCatchWrapper (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:149:19)\n' +
' at Biome.printDiagnostics (/home/runner/work/biome/biome/packages/@biomejs/js-api/src/index.ts:300:15)\n' +
' at /home/runner/work/biome/biome/packages/@biomejs/js-api/tests/printDiagnostics.test.ts:23:22\n' +
' at file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:135:14\n' +
' at file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:60:26\n' +
' at runTest (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:781:17)\n' +
' at runSuite (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15)\n' +
' at runSuite (file:///home/runner/work/biome/biome/node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:909:15)',
nameStr: 'Error',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<WasmError>',
name: 'Error',
toString: 'Function<toString>',
stacks: [
{
method: 'Function.fromError'
|
Run JS tests
Process completed with exit code 1.
|
Loading