vrsao 2
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-08 14:02:01 +02:00
parent bdd766c68a
commit 1106509116
354 changed files with 48275 additions and 24635 deletions
+4 -4
View File
@@ -7,7 +7,7 @@ import {
simulationCatalogChoices,
} from '../../resources/js/lib/simulation-api.ts';
test('malformed and non-JSON API bodies do not leak parser exceptions', async () => {
void test('malformed and non-JSON API bodies do not leak parser exceptions', async () => {
assert.equal(
await readSimulationApiJson(
new Response('<html>gateway error</html>', {
@@ -28,7 +28,7 @@ test('malformed and non-JSON API bodies do not leak parser exceptions', async ()
);
});
test('API error messages prefer validated field details and reject malformed shapes', () => {
void test('API error messages prefer validated field details and reject malformed shapes', () => {
assert.equal(
simulationApiErrorMessage({
message: 'Validation failed',
@@ -47,7 +47,7 @@ test('API error messages prefer validated field details and reject malformed sha
assert.equal(simulationApiErrorMessage('<html>error</html>'), undefined);
});
test('polling failures explain that an accepted calculation may still be pending', () => {
void test('polling failures explain that an accepted calculation may still be pending', () => {
assert.equal(
simulationPollingFailureMessage(null),
'O cenário foi recebido, mas não foi possível confirmar o estado do cálculo. Consulte o histórico antes de tentar novamente.',
@@ -58,7 +58,7 @@ test('polling failures explain that an accepted calculation may still be pending
);
});
test('catalog parser distinguishes a valid empty list and filters malformed options', () => {
void test('catalog parser distinguishes a valid empty list and filters malformed options', () => {
assert.deepEqual(simulationCatalogChoices({ data: [] }), []);
assert.deepEqual(
simulationCatalogChoices({