Skip to content

Commit

Permalink
keep a flat organization because qunit filter is giving trouble
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Aug 16, 2022
1 parent 2b33ebe commit a1585b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test-packages/support/suite-setup-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function githubMatrix() {
let dir = resolve(__dirname, '..', '..', 'tests', 'scenarios');
let { stdout } = await execa(
'scenario-tester',
['list', '--require', 'ts-node/register', '--files', '**/*-test.ts', '--matrix', 'yarn test --filter %s'],
['list', '--require', 'ts-node/register', '--files', '*-test.ts', '--matrix', 'yarn test --filter %s'],
{
cwd: dir,
preferLocal: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { join } from 'path';
import QUnit from 'qunit';
const { module: Qmodule, test } = QUnit;

import { dummyAppScenarios } from '../scenarios';
import { dummyAppScenarios } from './scenarios';
import { readFileSync } from 'fs';

dummyAppScenarios
Expand Down
6 changes: 3 additions & 3 deletions tests/scenarios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"ts-node": "^9.1.1"
},
"scripts": {
"test": "qunit --require ts-node/register *-test.ts **/*-test.ts",
"test:list": "scenario-tester list --require ts-node/register --files=**/*-test.ts",
"test:output": "scenario-tester output --require ts-node/register --files=**/*-test.ts"
"test": "qunit --require ts-node/register *-test.ts *-test.ts",
"test:list": "scenario-tester list --require ts-node/register --files=*-test.ts",
"test:output": "scenario-tester output --require ts-node/register --files=*-test.ts"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit a1585b9

Please sign in to comment.