Skip to content

Commit 7059d15

Browse files
verbosity
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
1 parent 64b0f2d commit 7059d15

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

t/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
6+
"test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose"
77
},
88
"devDependencies": {
99
"@jest/globals": "^29.7.0",

t/plugin/lago.spec.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,24 +227,31 @@ describe('Plugin - Lago', () => {
227227

228228
// set up
229229
beforeAll(async () => {
230+
console.log("starting suite")
230231
if (existsSync(LAGO_PATH)) await rm(LAGO_PATH, { recursive: true });
232+
console.log("download compose file")
231233
await downloadComposeFile();
234+
console.log("launch lago")
232235
await launchLago();
236+
console.log("provision lago")
233237
let res = await provisionLago();
234238
restAPIKey = res.apiKey;
235239
lagoClient = res.client;
236240
}, 120 * 1000);
237241

238242
// clean up
239243
afterAll(async () => {
244+
console.log("cleaning up")
240245
await compose.downAll({
241246
cwd: LAGO_PATH,
242247
commandOptions: ['--volumes'],
243248
});
249+
console.log("cleaned up")
244250
await rm(LAGO_PATH, { recursive: true });
245251
}, 30 * 1000);
246252

247253
it('should create route', async () => {
254+
console.log("creating route")
248255
await expect(
249256
requestAdminAPI('/apisix/admin/routes/1', 'PUT', {
250257
uri: '/hello',

0 commit comments

Comments
 (0)