Skip to content

Commit 14a02aa

Browse files
committed
update name pattern
1 parent 4c17c33 commit 14a02aa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"dev:actor": "tsx ./src/entrypoints/actor.ts",
1010
"test:all": "yarn test:local && yarn test:api",
1111
"test:local": "vitest run --testNamePattern '^((?!\\[api]).)*$' --exclude ./test/api --exclude ./test/e2e",
12-
"test:e2e": "vitest run ./test/e2e",
13-
"test:e2e:local": "vitest run ./test/e2e --exclude '**/builds*'",
12+
"test:e2e": "vitest run --testNamePattern '\\[e2e\\]' --exclude ./test/api",
13+
"test:e2e:local": "vitest run --testNamePattern '^(?=.*\\[e2e\\])(?!.*\\[api\\]).*$' --exclude ./test/api",
1414
"test:api": "vitest run --testNamePattern '\\[api\\]'",
1515
"test:python": "vitest run --testNamePattern '\\[python\\]'",
1616
"lint": "eslint src test scripts --ext .ts,.cjs,.mjs",

test/e2e/builds.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { getApifyClientOptions } from '../../src/lib/utils.js';
66
import { runCli } from './__helpers__/run-cli.js';
77
import { createTestActor, removeTestActor, type TestActor } from './__helpers__/test-actor.js';
88

9-
describe('[e2e] builds namespace', () => {
9+
describe('[e2e][api] builds namespace', () => {
1010
let actor: TestActor;
1111
let authEnv: Record<string, string>;
1212
let client: ApifyClient;

0 commit comments

Comments
 (0)