Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions test/bundler/bundler_plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ describe("bundler", () => {
};

itBundled("plugin/Resolve", {
todo: true,
files: resolveFixture,
// The bundler testing api has a shorthand where the plugins array can be
// the `setup` function of one plugin.
Expand Down Expand Up @@ -85,7 +84,6 @@ describe("bundler", () => {
});
itBundled("plugin/LoadThrowPrimative", {
files: loadFixture,
todo: true,
plugins(builder) {
builder.onLoad({ filter: /\.magic$/ }, args => {
throw "123";
Expand All @@ -108,7 +106,6 @@ describe("bundler", () => {
});
itBundled("plugin/LoadThrowPrimativeAsync", {
files: loadFixture,
todo: true,
plugins(builder) {
builder.onLoad({ filter: /\.magic$/ }, async args => {
throw 123;
Expand Down Expand Up @@ -179,7 +176,6 @@ describe("bundler", () => {
});
itBundled("plugin/ResolveThrowPrimative", {
files: resolveFixture,
todo: true,
plugins(builder) {
builder.onResolve({ filter: /\.magic$/ }, args => {
throw "123";
Expand All @@ -202,7 +198,6 @@ describe("bundler", () => {
});
itBundled("plugin/ResolveThrowPrimativeAsync", {
files: resolveFixture,
todo: true,
plugins(builder) {
builder.onResolve({ filter: /\.magic$/ }, async args => {
throw 123;
Expand Down
1 change: 0 additions & 1 deletion test/bundler/esbuild/dce.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,6 @@ describe("bundler", () => {
});
// im confused what this is testing. cross platform slash? there is none?? not even in the go source
itBundled("dce/PackageJsonSideEffectsFalseCrossPlatformSlash", {
todo: true,
files: {
"/Users/user/project/src/entry.js": /* js */ `
import "demo-pkg/foo"
Expand Down
6 changes: 1 addition & 5 deletions test/bundler/esbuild/default.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from "assert";
import { describe, expect } from "bun:test";
import { isMacOS, isMusl, osSlashes } from "harness";
import { osSlashes } from "harness";
import path from "path";
import { dedent, ESBUILD_PATH, itBundled } from "../expectBundled";

Expand Down Expand Up @@ -2091,7 +2091,6 @@ describe("bundler", () => {
}
`,
},
todo: true,
minifyIdentifiers: true,
bundling: false,
format: "cjs",
Expand Down Expand Up @@ -4549,7 +4548,6 @@ describe("bundler", () => {
},
});
itBundled("default/DefineInfiniteLoopESBuildIssue2407", {
todo: true,
files: {
"/entry.js": /* js */ `
a.b()
Expand Down Expand Up @@ -5313,7 +5311,6 @@ describe("bundler", () => {
},
});
const RequireShimSubstitutionBrowser = itBundled("default/RequireShimSubstitutionBrowser", {
todo: isMacOS || isMusl,
files: {
"/entry.js": /* js */ `
Promise.all([
Expand Down Expand Up @@ -5381,7 +5378,6 @@ describe("bundler", () => {
},
});
itBundled("default/RequireShimSubstitutionNode", {
todo: isMacOS || isMusl,
files: RequireShimSubstitutionBrowser.options.files,
runtimeFiles: RequireShimSubstitutionBrowser.options.runtimeFiles,
target: "node",
Expand Down
3 changes: 0 additions & 3 deletions test/bundler/esbuild/extra.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ describe("bundler", () => {
run: true,
});
itBundled("extra/TypeofRequireESM", {
// we do not have require defined in target browser
todo: true,
files: {
"in.js": `check(typeof require)`,
"runtime.js": `
Expand Down Expand Up @@ -1006,7 +1004,6 @@ describe("bundler", () => {
run: true,
});
itBundled(`extra/${minify.label || "NoMinify"}CatchScope2`, {
todo: true,
files: {
"in.js": `
let y
Expand Down
4 changes: 0 additions & 4 deletions test/bundler/esbuild/packagejson.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,6 @@ describe("bundler", () => {
},
});
itBundled("packagejson/ImportSelfUsingRequire", {
todo: true,
files: {
"/Users/user/project/src/index.js": /* js */ `
module.exports = 'index'
Expand Down Expand Up @@ -1840,7 +1839,6 @@ describe("bundler", () => {
},
});
itBundled("packagejson/ImportSelfUsingImport", {
todo: true,
files: {
"/Users/user/project/src/index.js": /* js */ `
import xyz from "xyz"
Expand Down Expand Up @@ -1869,7 +1867,6 @@ describe("bundler", () => {
},
});
itBundled("packagejson/ImportSelfUsingRequireScoped", {
todo: true,
files: {
"/Users/user/project/src/index.js": /* js */ `
module.exports = 'index'
Expand Down Expand Up @@ -1899,7 +1896,6 @@ describe("bundler", () => {
},
});
itBundled("packagejson/ImportSelfUsingImportScoped", {
todo: true,
files: {
"/Users/user/project/src/index.js": /* js */ `
import xyz from "@some-scope/xyz"
Expand Down