Present financial institutions with professional investor-facing descriptions and products
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import * as presentation from '../../resources/js/lib/funding-public-presentation.ts';
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
@@ -26,6 +27,7 @@ function load(file, mocks = {}) {
|
||||
(name) =>
|
||||
name in mocks
|
||||
? mocks[name]
|
||||
: name === "@/lib/funding-public-presentation" ? presentation
|
||||
: name === "@/components/funding-classification"
|
||||
? load("components/funding-classification.tsx", mocks)
|
||||
: name === "@/pages/investment/shared"
|
||||
@@ -87,7 +89,8 @@ test("actual institution view keeps physical address separate from product cover
|
||||
assert.match(html, /Condições: Por confirmar/);
|
||||
assert.match(html, /Disponibilidade: Por confirmar/);
|
||||
assert.match(html, /https:\/\/example.invalid\/contact/);
|
||||
assert.match(html, /SYNTHETIC QA source/);
|
||||
assert.match(html, /https:\/\/example\.invalid\/source/);
|
||||
assert.match(html, /Consultar informação da entidade/);
|
||||
assert.match(html, /não é elegibilidade confirmada/);
|
||||
});
|
||||
test("adding a physical location does not fill product financing coverage", () => {
|
||||
|
||||
Reference in New Issue
Block a user