chroe: devops (#180)
* ci: add dependencies about lint tool * ci: replace eslint with prettier * ci: add husky, cz and commitlint * style: lint fix via prettier * ci: add prettier and check-types to github workflow '
This commit is contained in:
@ -64,9 +64,7 @@ describe('utils', () => {
|
||||
const sql = `select * from a;--comments`;
|
||||
const expected = `--comments`;
|
||||
const result = lexer(sql);
|
||||
const comments = result.find((token) =>
|
||||
token.type === TokenType.Comment,
|
||||
);
|
||||
const comments = result.find((token) => token.type === TokenType.Comment);
|
||||
expect(comments?.value).toEqual(expected);
|
||||
});
|
||||
test('cleanSql', () => {
|
||||
|
Reference in New Issue
Block a user