fixed tests

This commit is contained in:
Jan Prochazka 2022-08-07 19:36:37 +02:00
parent 1599a7ea01
commit 2571e6ac7e

View File

@ -38,7 +38,7 @@ test('test one level nesting', () => {
const root = new PerspectiveTableNode(
artistTable,
{ conid: { db: chinookDbInfo } },
{ ...createPerspectiveConfig({ pureName: 'Artist' }), checkedColumns: ['Artist.Album'] },
{ ...createPerspectiveConfig({ pureName: 'Artist' }), checkedColumns: ['Artist::Album'] },
null,
null,
{ conid: 'conid', database: 'db' },
@ -88,7 +88,7 @@ test('test two level nesting', () => {
const root = new PerspectiveTableNode(
artistTable,
{ conid: { db: chinookDbInfo } },
{ ...createPerspectiveConfig({ pureName: 'Artist' }), checkedColumns: ['Artist.Album', 'Artist.Album.Track'] },
{ ...createPerspectiveConfig({ pureName: 'Artist' }), checkedColumns: ['Artist::Album', 'Artist::Album::Track'] },
null,
null,
{ conid: 'conid', database: 'db' },