fix: oprava parsování nabídky TechTower po další změně jejich HTML struktury
CI / Generate TypeScript types (push) Successful in 13s
CI / Server unit tests (push) Successful in 28s
CI / Build server (push) Successful in 29s
CI / Build client (push) Successful in 39s
CI / Playwright E2E tests (push) Successful in 1m46s
CI / Build and push Docker image (push) Successful in 50s
CI / Notify (push) Successful in 2s
CI / Generate TypeScript types (push) Successful in 13s
CI / Server unit tests (push) Successful in 28s
CI / Build server (push) Successful in 29s
CI / Build client (push) Successful in 39s
CI / Playwright E2E tests (push) Successful in 1m46s
CI / Build and push Docker image (push) Successful in 50s
CI / Notify (push) Successful in 2s
This commit is contained in:
5 files changed
+375
-13
No files matched your search
@@ -42,6 +42,13 @@ test('isTextSoupName vrátí false pro hlavní jídlo', () => {
|
||||
expect(isTextSoupName('Svíčková na smetaně s knedlíkem')).toBe(false);
|
||||
});
|
||||
|
||||
test('isTextSoupName rozpozná krémové polévky typu "<přídavné jméno> krém"', () => {
|
||||
expect(isTextSoupName('Květákový krém')).toBe(true);
|
||||
expect(isTextSoupName('Mrkvový krém se zázvorem')).toBe(true);
|
||||
expect(isTextSoupName('Kuřecí roláda se smetanovou omáčkou')).toBe(false);
|
||||
expect(isTextSoupName('Churros s čokoládovou omáčkou')).toBe(false);
|
||||
});
|
||||
|
||||
test('isTextSoupName není case-sensitive', () => {
|
||||
expect(isTextSoupName('POLÉVKA DNE')).toBe(true);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user