Skip to content

Commit

Permalink
test: manual '_' for non-test test files
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Sep 19, 2024
1 parent 4dc812b commit ca65f92
Show file tree
Hide file tree
Showing 36 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions packages/cli/test/demo/index.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
import { $ } from 'execa';
import { makeSectionTest } from '../section.js';
import { withContext } from '../with-context.js';
import { daemonContext } from '../daemon-context.js';
import { makeSectionTest } from '../_section.js';
import { withContext } from '../_with-context.js';
import { daemonContext } from '../_daemon-context.js';
import * as counterExample from './counter-example.js';
import * as doublerAgent from './doubler-agent.js';
import * as confinedScript from './confined-script.js';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/ses/test/console-error-trap.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava';
import url from 'url';
import { exec } from 'child_process';

const cwd = url.fileURLToPath(new URL('console-error-trap', import.meta.url));
const cwd = url.fileURLToPath(new URL('_console-error-trap', import.meta.url));

const exitAssertions = (
t,
Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/console-rejection-trap.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import url from 'url';
import { exec } from 'child_process';

const cwd = url.fileURLToPath(
new URL('console-rejection-trap', import.meta.url),
new URL('_console-rejection-trap', import.meta.url),
);

const exitAssertions = (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/ses/test/error/aggregate-error-console.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';
import '../../index.js';
import { throwsAndLogs } from './throws-and-logs.js';
import { throwsAndLogs } from './_throws-and-logs.js';

lockdown();

Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/error/assert-log.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava';
import { assertLogs, throwsAndLogs } from './throws-and-logs.js';
import { assertLogs, throwsAndLogs } from './_throws-and-logs.js';
import { assert } from '../../src/error/assert.js';

const { details: X, quote: q, bare: b, error: makeError } = assert;
Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/error/error-cause-console.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';
import '../../index.js';
import { throwsAndLogs } from './throws-and-logs.js';
import { throwsAndLogs } from './_throws-and-logs.js';

lockdown();

Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/error/filtering-console.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava';
import '../../index.js';
import { filterConsole } from '../../src/error/console.js';
import { assertLogs } from './throws-and-logs.js';
import { assertLogs } from './_throws-and-logs.js';

lockdown();

Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/error/permit-removal-warnings.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';
import '../../index.js';
import { assertLogs } from './throws-and-logs.js';
import { assertLogs } from './_throws-and-logs.js';

const { defineProperties } = Object;
const { apply } = Reflect;
Expand Down
2 changes: 1 addition & 1 deletion packages/ses/test/package.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava';
import url from 'url';
import { spawn } from 'child_process';

const cwd = url.fileURLToPath(new URL('package/', import.meta.url));
const cwd = url.fileURLToPath(new URL('_package/', import.meta.url));

const table = {
cjs: {
Expand Down

0 comments on commit ca65f92

Please sign in to comment.