Skip to content

Commit

Permalink
chore: Enable unit tests on CI (#5)
Browse files Browse the repository at this point in the history
* chore: Enable unit tests on CI

* chore: Fix Biome lint warnings
  • Loading branch information
angelmadames authored Mar 13, 2024
1 parent 1a8b7c8 commit 0397d0d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 200 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
bun run lint:ci
bun run check:ci
# - name: 🧪 Run tests
# run: bun run test
- name: 🧪 Run tests
run: bun run test
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"enabled": true,
"rules": {
"recommended": true,
"nursery": {
"correctness": {
"noUnusedImports": "warn"
},
"suspicious": {
Expand Down
4 changes: 2 additions & 2 deletions src/config/env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs';
import * as fs from 'node:fs';
import log from '../utils/log';
import { flattenObject } from '../utils/object';
import { type DEMSProjectConfig } from './dems';
import type { DEMSProjectConfig } from './dems';

export const dotEnv = {
generate(envFilePath: string, config: DEMSProjectConfig): void {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/compose.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'node:fs';
import path from 'path';
import * as fs from 'node:fs';
import * as path from 'node:path';
import { projectConfig } from '../config/project';
import { cmd as $ } from './cmd';
import { isFile } from './file-system';
Expand Down
45 changes: 0 additions & 45 deletions test/commands/clean.test.ts

This file was deleted.

22 changes: 0 additions & 22 deletions test/commands/clone.test.ts

This file was deleted.

47 changes: 0 additions & 47 deletions test/commands/compose.test.ts

This file was deleted.

50 changes: 0 additions & 50 deletions test/commands/config.current-project.test.ts

This file was deleted.

29 changes: 0 additions & 29 deletions test/lifecycle.ts

This file was deleted.

0 comments on commit 0397d0d

Please sign in to comment.