create() {
										createCallCount++;
										throw Error("Boom!");
									}
/*.js"]);
					}, /No files matching 'non-exist\/\*\*\/\*\.js' were found\./u);
				});

				it("two files", async () => {
					await assert.rejects(async () => {
						await eslint.lintFiles(["aaa.js", "bbb.js"]);
					}, /No files matching 'aaa\.js' were found\./u);
				});

				it("a mix of an existing file and a non-existing file", async () => {
					await assert.rejects(async () => {
						await eslint.lintFiles(["console.js", "non-exist.js"]);
					}, /No files matching 'non-exist\.js' were found\./u);
				});

				// https://github.com/eslint/eslint/issues/16275
				it("a mix of an existing glob pattern and a non-existing glob pattern", async () => {
					await assert.rejects(async () => {
						await eslint.lintFiles(["*.js", "non-exist/*.js"]);
					}, /No files matching 'non-exist\/\*\.js' were found\./u);
				});
			});

			describe("multiple processors", () => {
				const root = path.join(
					os.tmpdir(),
					"eslint/eslint/multiple-processors",
				);
				const commonFiles = {
					"node_modules/pattern-processor/index.js": fs.readFileSync(
						require.resolve(
							"../../fixtures/processors/pattern-processor",
						),
						"utf8",
					),
					"node_modules/eslint-plugin-markdown/index.js": `
                        const { defineProcessor } = require("pattern-processor");
                        const processor = defineProcessor(${/```(\w+)\n([\s\S]+?)\n```/gu});
                        exports.processors = {
                            "markdown": { ...processor, supportsAutofix: true },
                            "non-fixable": processor
                        };
                    `,
					"node_modules/eslint-plugin-html/index.js": `
                        const { defineProcessor } = require("pattern-processor");
                        const processor = defineProcessor(${/<script lang="(\w*)">\n([\s\S]+?)\n<\/script>/gu});
                        const legacyProcessor = defineProcessor(${/<script lang="(\w*)">\n([\s\S]+?)\n<\/script>/gu}, true);
                        exports.processors = {
                            "html": { ...processor, supportsAutofix: true },
                            "non-fixable": processor,
                            "legacy": legacyProcessor
                        };
                    `,
					"test.md": unIndent`
                        \`\`\`js
                        console.log("hello")
                        \`\`\`
                        \`\`\`html
                        <div>Hello</div>
                        <script lang="js">
                            console.log("hello")
                        </script>
                        <script lang="ts">
                            console.log("hello")
                        </script>
                        \`\`\`
                    `,
				};

				// unique directory for each test to avoid quirky disk-cleanup errors
				let id;

				beforeEach(() => (id = Date.now().toString()));

				/*
`fs.rmdir(path, { recursive: true })` is deprecated and will be removed.
Use `fs.rm(path, { recursive: true })` instead.
When supporting Node.js 14.14.0+, the compatibility condition can be removed for `fs.rmdir`.