Skip to content

correct TableClass and test #115

correct TableClass and test

correct TableClass and test #115

GitHub Actions / Test Unit failed Jan 12, 2024 in 0s

Test Unit ❌

Tests failed

❌ ./test/results/results.xml

12 tests were completed in 5s with 7 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/db/compound.test.ts 4✅ 3❌ 43ms
test/extract.test.ts 1✅ 20ms
test/server/tableClass.test.ts 2✅ 2❌ 81ms

❌ test/db/compound.test.ts

❌ Compound table > Check number of column
	AssertionError: expected 4 to be 5 // Object.is equality
❌ Compound table > Check name of column
	AssertionError: expected Set{ 'id', 'name', 'url', …(1) } to deeply equal Set{ 'id', 'name', 'url', …(2) }
✅ Compound table > Check id column definition
✅ Compound table > Check name column definition
✅ Compound table > Check url column definition
✅ Compound table > Check description column definition
❌ Compound table > Check archive_date column definition
	AssertionError: expected -1 not to be -1 // Object.is equality

✅ test/extract.test.ts

✅ My test > my test

❌ test/server/tableClass.test.ts

✅ tableClass > Check create table object
❌ tableClass > bad name table
	Error: unknow table doesn't exist
❌ tableClass > Check number of header without id
	AssertionError: expected 3 to be 4 // Object.is equality
✅ tableClass > getHearder

Annotations

Check failure on line 0 in ./test/results/results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Unit

test/db/compound.test.ts ► Compound table > Check number of column

Failed test found in:
  ./test/results/results.xml
Error:
  AssertionError: expected 4 to be 5 // Object.is equality
Raw output
AssertionError: expected 4 to be 5 // Object.is equality
 ❯ test/db/compound.test.ts:26:34
            

Check failure on line 0 in ./test/results/results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Unit

test/db/compound.test.ts ► Compound table > Check name of column

Failed test found in:
  ./test/results/results.xml
Error:
  AssertionError: expected Set{ 'id', 'name', 'url', …(1) } to deeply equal Set{ 'id', 'name', 'url', …(2) }
Raw output
AssertionError: expected Set{ 'id', 'name', 'url', …(1) } to deeply equal Set{ 'id', 'name', 'url', …(2) }
 ❯ test/db/compound.test.ts:34:38
            

Check failure on line 0 in ./test/results/results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Unit

test/db/compound.test.ts ► Compound table > Check archive_date column definition

Failed test found in:
  ./test/results/results.xml
Error:
  AssertionError: expected -1 not to be -1 // Object.is equality
Raw output
AssertionError: expected -1 not to be -1 // Object.is equality
 ❯ validField test/db/compound.test.ts:42:27
 ❯ test/db/compound.test.ts:49:13
            

Check failure on line 0 in ./test/results/results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Unit

test/server/tableClass.test.ts ► tableClass > bad name table

Failed test found in:
  ./test/results/results.xml
Error:
  Error: unknow table doesn't exist
Raw output
Error: unknow table doesn't exist
 ❯ server/api/class/tableClass.ts:20:23
 ❯ test/server/tableClass.test.ts:12:16
            

Check failure on line 0 in ./test/results/results.xml

See this annotation in the file changed.

@github-actions github-actions / Test Unit

test/server/tableClass.test.ts ► tableClass > Check number of header without id

Failed test found in:
  ./test/results/results.xml
Error:
  AssertionError: expected 3 to be 4 // Object.is equality
Raw output
AssertionError: expected 3 to be 4 // Object.is equality
 ❯ test/server/tableClass.test.ts:28:35