SHA256
HEADER v3, primary аккаунты и подтверждения
This commit is contained in:
@@ -3,7 +3,7 @@ import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
const read = relative => expandRussian(fs.readFileSync(new URL(relative, import.meta.url), 'utf8'));
|
||||
test('выбор аккаунта перед шагом 1, всего три шага', () => {
|
||||
test('выбор тарифа перед шагом 1, всего четыре шага', () => {
|
||||
const choice = read('../js/pages/registration-choice-view.js');
|
||||
const login = read('../js/pages/register-view.js');
|
||||
const email = read('../js/pages/registration-email-view.js');
|
||||
@@ -11,8 +11,9 @@ test('выбор аккаунта перед шагом 1, всего три ш
|
||||
assert.doesNotMatch(choice, /createRegistrationStepper\(/);
|
||||
assert.match(login, /createRegistrationStepper\(1\)/);
|
||||
assert.match(login, /createRegistrationStepper\(2\)/);
|
||||
assert.match(email, /createRegistrationStepper\(3\)/);
|
||||
assert.match(payment, /createRegistrationStepper\(3\)/);
|
||||
assert.match(login, /createRegistrationStepper\(3\)/);
|
||||
assert.match(email, /createRegistrationStepper\(4\)/);
|
||||
assert.match(payment, /createRegistrationStepper\(4\)/);
|
||||
});
|
||||
test('реальная почта и 256-символьный лимит сохранены', () => {
|
||||
const email = read('../js/pages/registration-email-view.js');
|
||||
|
||||
Reference in New Issue
Block a user