Fixing failing test cases

This commit is contained in:
ashishj
2022-05-06 20:14:36 +02:00
parent 6528a0cfb6
commit 3cb926727c
6 changed files with 4330 additions and 3548 deletions

View File

@@ -56,7 +56,7 @@ pie
"bat" : 40
`);
const sections = pieDb.getSections();
const title = pieDb.getTitle();
const title = pieDb.getPieTitle();
const section1 = sections['ash'];
expect(section1).toBe(60);
expect(title).toBe('a 60/40 pie');
@@ -69,7 +69,7 @@ pie
`);
const sections = pieDb.getSections();
const title = pieDb.getTitle();
const title = pieDb.getPieTitle();
const description = pieDb.getAccDescription();
const section1 = sections['ash'];
expect(section1).toBe(60);
@@ -85,7 +85,7 @@ pie
`);
const sections = pieDb.getSections();
const title = pieDb.getTitle();
const title = pieDb.getPieTitle();
const description = pieDb.getAccDescription();
const section1 = sections['ash'];
expect(section1).toBe(60);
@@ -103,7 +103,7 @@ pie
`);
const sections = pieDb.getSections();
const title = pieDb.getTitle();
const title = pieDb.getPieTitle();
const description = pieDb.getAccDescription();
const section1 = sections['ash'];
expect(section1).toBe(60);