Enable locally-passing bundler plugin tests (#16411)

This commit is contained in:
Jarred Sumner
2025-01-15 03:07:00 -08:00
committed by GitHub
parent a01285fa65
commit 77a5906123

View File

@@ -75,7 +75,6 @@ describe("bundler", () => {
// Load Plugin Errors
itBundled("plugin/LoadThrow", {
todo: true,
files: loadFixture,
plugins(builder) {
builder.onLoad({ filter: /\.magic$/ }, args => {
@@ -99,7 +98,6 @@ describe("bundler", () => {
},
});
itBundled("plugin/LoadThrowAsync", {
todo: true,
files: loadFixture,
plugins(builder) {
builder.onLoad({ filter: /\.magic$/ }, async args => {
@@ -123,7 +121,6 @@ describe("bundler", () => {
},
});
itBundled("plugin/ResolveAndLoadDefaultExport", {
todo: true,
files: {
"index.ts": /* ts */ `
import foo from "./foo.magic";
@@ -153,7 +150,6 @@ describe("bundler", () => {
// Load Plugin Errors
itBundled("plugin/ResolveThrow", {
todo: true,
files: resolveFixture,
plugins(builder) {
builder.onResolve({ filter: /\.magic$/ }, args => {
@@ -177,7 +173,6 @@ describe("bundler", () => {
},
});
itBundled("plugin/ResolveThrowAsync", {
todo: true,
files: resolveFixture,
plugins(builder) {
builder.onResolve({ filter: /\.magic$/ }, async args => {
@@ -206,7 +201,6 @@ describe("bundler", () => {
let onResolveCount = 0;
return {
todo: true,
files: {
"index.ts": /* ts */ `
import * as foo from "magic:some_string";
@@ -248,7 +242,6 @@ describe("bundler", () => {
let onResolveCountBad = 0;
return {
todo: true,
files: {
"index.ts": /* ts */ `
import * as foo from "magic:some_string";
@@ -409,7 +402,6 @@ describe("bundler", () => {
});
itBundled("plugin/ResolveOverrideFile", ({ root }) => {
return {
todo: true,
files: {
"index.ts": /* ts */ `
import * as foo from "./foo.ts";
@@ -473,7 +465,6 @@ describe("bundler", () => {
let onResolveCount = 0;
let importers: string[] = [];
return {
todo: true,
files: {
"index.ts": /* ts */ `
import * as foo from "./one.ts";