mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Enable locally-passing bundler plugin tests (#16411)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user