15db0371da
This pull request fixes the file extension for two test files that were incorrectly named. This caused them not to be tested. A new test has been added to ensure all test files have the correct extension. This also fixes a bug in some tests where `repositories` inputs included the repository owner. The owner has been removed from these inputs and the snapshots have been updated.
9 lines
378 B
JavaScript
9 lines
378 B
JavaScript
import { test } from "./main.js";
|
|
|
|
// Verify `main` successfully obtains a token when the `owner` and `repositories` inputs are set (and the latter is a single repo).
|
|
await test(() => {
|
|
process.env.INPUT_OWNER = process.env.GITHUB_REPOSITORY_OWNER;
|
|
const currentRepoName = process.env.GITHUB_REPOSITORY.split("/")[1];
|
|
process.env.INPUT_REPOSITORIES = currentRepoName;
|
|
});
|