Browse Source

test: template parser test correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/743/head
Pranav C 3 years ago
parent
commit
81b6d50728
  1. 4
      packages/nocodb/src/__tests__/TemplateParser.test.ts

4
packages/nocodb/src/__tests__/TemplateParser.test.ts

@ -15,9 +15,9 @@ describe('Template parser', () => {
describe('Parse blog templates', function() {
it('Simple formula', function() {
const parser = new NcTemplateParser('mysql');
const parser = new NcTemplateParser({ client: 'mysql', template });
const { tables } = parser.parse(template);
const { tables } = parser.parse();
expect(tables).length(3);
});
});

Loading…
Cancel
Save