Skip to content

Commit

Permalink
ci: try another way to test
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Oct 4, 2024
1 parent 8d4789d commit 0d8b72d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"private": true,
"packageManager": "pnpm@9.12.0",
"scripts": {
"build:app": "FORCE_COLOR=3 turbo run build:app",
"build": "FORCE_COLOR=3 turbo run build",
"dev": "FORCE_COLOR=3 turbo run dev --parallel",
"lint": "FORCE_COLOR=3 turbo run lint",
"format": "FORCE_COLOR=3 turbo run format",
"test": "FORCE_COLOR=3 turbo run test",
"test:cov": "FORCE_COLOR=3 turbo run test:cov",
"docs": "FORCE_COLOR=3 turbo run docs --parallel && bash postdoc.bash",
"music": "FORCE_COLOR=3 pnpm --filter=@cocoa-discord/music-module bot"
"build:app": "FORCE_COLOR=2 turbo run build:app",
"build": "FORCE_COLOR=2 turbo run build",
"dev": "FORCE_COLOR=2 turbo run dev --parallel",
"lint": "FORCE_COLOR=2 turbo run lint",
"format": "FORCE_COLOR=2 turbo run format",
"test": "FORCE_COLOR=2 turbo run test",
"test:cov": "FORCE_COLOR=2 turbo run test:cov",
"docs": "FORCE_COLOR=2 turbo run docs --parallel && bash postdoc.bash",
"music": "FORCE_COLOR=2 pnpm --filter=@cocoa-discord/music-module bot"
},
"devDependencies": {
"@leomotors/config": "^0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cocoa-discord/tests/logger.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ describe("[logger] Logger", () => {
const f = Cocoa.format("Hello World", LogStatus.Success);

// eslint-disable-next-line no-control-regex
expect(f).toMatch(/^\u001b\[32m/);
expect(f).toMatch(/^\x1B\[32m/);

Check failure on line 17 in packages/cocoa-discord/tests/logger.spec.ts

View workflow job for this annotation

GitHub Actions / Publish to npm

tests/logger.spec.ts > [logger] Logger > Success should be Green

AssertionError: expected '[2024-10-04 18:02:59] Hello World' to match /^\x1B\[32m/ - Expected: /^\x1B\[32m/ + Received: "[2024-10-04 18:02:59] Hello World" ❯ tests/logger.spec.ts:17:15
});
});

0 comments on commit 0d8b72d

Please sign in to comment.