Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- 20
- 22
- 24
- 25
- 26
os:
- ubuntu-latest
- windows-latest
Expand Down
2 changes: 1 addition & 1 deletion impress.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { Planner } = require('./lib/planner.js');
const CONFIG_SECTIONS = ['log', 'scale', 'server', 'sessions'];
const PATH = process.cwd();
const WORKER_PATH = path.join(__dirname, 'lib/worker.js');
const REPORTER_PATH = 'file://' + path.join(__dirname, 'lib/reporter.js');
const REPORTER_PATH = `file://${path.join(__dirname, 'lib/reporter.js')}`;
const LOG_PATH = path.join(PATH, 'log');
const CTRL_C = 3;
const LOG_OPTIONS = { path: LOG_PATH, home: PATH, workerId: 0 };
Expand Down
157 changes: 99 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
"metawatch": "^1.2.5"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@types/node": "^25.9.4",
"@types/ws": "^8.18.1",
"eslint": "^9.36.0",
"eslint-config-metarhia": "^9.1.8",
"eslint": "^9.39.4",
"eslint-config-metarhia": "^9.1.9",
"metaskills": "^1.0.4",
"prettier": "^3.8.1",
"prettier": "^3.8.4",
"typescript": "^5.9.3"
}
}
4 changes: 2 additions & 2 deletions test/cert.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const WIN = process.platform === 'win32';
const root = process.cwd();

const certPath = path.join(root, 'test/cert/default/');
cp.execSync(certPath + 'generate.sh');
cp.execSync(`${certPath}generate.sh`);

const application = {
path: path.join(root, 'test'),
Expand All @@ -33,7 +33,7 @@ test('lib/cert - should load certificates correctly', async () => {
assert.strictEqual(cert.files.size, 3);
assert.strictEqual(cert.domains.size, 5);

fs.copyFileSync(certPath + 'self.pem', certPath + 'key.pem');
fs.copyFileSync(`${certPath}self.pem`, `${certPath}key.pem`);
cert = new Cert('cert', application, { ext: ['pem'] });
await cert.load();
assert.strictEqual(cert.files.size, 3);
Expand Down
Loading