node-tckimlik
Version:
node-tckimlik uses NVI endpoints to validate Turkish Republic identity numbers
19 lines (17 loc) • 419 B
JavaScript
const clientPromise = require("./");
test("test stuff", () => {
clientPromise
.then((client) => {
return client.KisiVeCuzdanDogrulaAsync({
TCKimlikNo: 12312312312,
Ad: "Adem",
Soyad: "Testoğlu",
DogumGun: 15,
DogumAy: 6,
DogumYil: 1990,
});
})
.then((response) => {
expect(response[0].KisiVeCuzdanDogrulaResult).toBe(false);
});
});