@@ -1,7 +1,7 @@
|
||||
const { test } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const { reconcile } = require('./investmoz-v2-source-reconciliation.cjs');
|
||||
test('validated official source and record survive missing citation fields', () => {
|
||||
void test('validated official source and record survive missing citation fields', () => {
|
||||
const result = reconcile(
|
||||
{
|
||||
kind: 'investment_zones',
|
||||
@@ -27,7 +27,7 @@ test('validated official source and record survive missing citation fields', ()
|
||||
assert.equal(result.validation_revoked, false);
|
||||
assert.equal(result.traceability, 'official_reference_identified');
|
||||
});
|
||||
test('missing source field is a traceability gap, not rejection', () => {
|
||||
void test('missing source field is a traceability gap, not rejection', () => {
|
||||
const result = reconcile(
|
||||
{
|
||||
kind: 'projects',
|
||||
@@ -54,7 +54,7 @@ test('missing source field is a traceability gap, not rejection', () => {
|
||||
assert.equal(result.validation_revoked, false);
|
||||
assert.equal(result.calculation_activated, false);
|
||||
});
|
||||
test('promoter cannot become official through validated record', () => {
|
||||
void test('promoter cannot become official through validated record', () => {
|
||||
const result = reconcile(
|
||||
{
|
||||
kind: 'investment_zones',
|
||||
@@ -72,7 +72,7 @@ test('promoter cannot become official through validated record', () => {
|
||||
assert.equal(result.official_references.length, 0);
|
||||
assert.equal(result.official_validation_newly_granted, false);
|
||||
});
|
||||
test('existing legal pending is preserved without invalidating consultation', () => {
|
||||
void test('existing legal pending is preserved without invalidating consultation', () => {
|
||||
const result = reconcile(
|
||||
{
|
||||
kind: 'investment_zones',
|
||||
|
||||
Reference in New Issue
Block a user