Skip to content

Commit

Permalink
chore: build fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jun 28, 2021
1 parent 97e5d22 commit 4e94c40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ commands:
test-node:
steps:
- run: npx lerna run pretest
- run:
name: Run node tests
command: yarn test.jest --coverage --maxWorkers=2
Expand Down Expand Up @@ -119,6 +120,7 @@ jobs:
steps:
- checkout
- install-and-build
- run: npx lerna run pretest
- run:
name: Run browser tests
command: yarn test.karma
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
},
"scripts": {
"clean": "rimraf packages/*/{dist,.cache}",
"prebuild": "lerna run prebuild",
"build": "tsc --build ./tsconfig.build.json",
"postbuild": "lerna run postbuild",
"lint": "yarn lint.prettier && yarn lint.eslint && yarn lint.changelog",
"lint.changelog": "kacl lint",
"lint.fix": "yarn lint.prettier --write && yarn lint.eslint --fix",
Expand Down
6 changes: 3 additions & 3 deletions packages/ruleset-migrator/src/__tests__/ruleset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ describe('migrator', () => {
await fs.promises.mkdir(cwd, { recursive: true });
});

afterAll(async () => {
await fs.promises.rmdir(cwd);
afterAll(() => {
fs.rmdirSync(cwd, { recursive: true });
});

describe.each([...Object.entries(fixtures)])('%s', (name, entries) => {
describe.each<[string, Record<string, string>]>([...Object.entries(fixtures)])('%s', (name, entries) => {
const dir = path.join(cwd, name);
const ruleset = path.join(dir, 'ruleset');

Expand Down

0 comments on commit 4e94c40

Please sign in to comment.