Minor refactor

This commit is contained in:
Peng-YM
2022-06-16 11:19:00 +08:00
parent f76096f244
commit 56ada242d2
13 changed files with 38 additions and 45 deletions

View File

@@ -1,12 +1,11 @@
import * as peggy from 'peggy';
import qx from '../../src/core/proxy-utils/grammars/qx';
import getQXParser from '../../src/core/proxy-utils/peggy/qx';
import { expect } from 'chai';
import testcases from './testcases';
import { describe, it } from 'mocha';
const parser = peggy.generate(qx);
const parser = getQXParser();
describe('QX', function() {
describe('shadowsocks', function() {