Skip to content

Commit a658008

Browse files
committed
Some linting
1 parent 8a69483 commit a658008

15 files changed

Lines changed: 23 additions & 23 deletions

packages/integration-tests-next/fixtures/esbuild/after-upload-deletion-promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { join } from "node:path";
55

66
test(import.meta.url, ({ runBundler, outDir, runFileInNode }) => {
77
runBundler();
8-
8+
99
// Verify the JS file exists and works
1010
const output = runFileInNode("basic.js");
1111
expect(output).toBe("hello world\n");
12-
12+
1313
// Verify the sourcemap was deleted (by the Promise)
1414
const sourcemapPath = join(outDir, "basic.js.map");
1515
expect(existsSync(sourcemapPath)).toBe(false);

packages/integration-tests-next/fixtures/esbuild/dont-mess-up-user-code.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
3939
"index.js.map": "{"version":3,"sources":["../../_sentry-injection-stub","sentry-debug-id-stub:_sentry-debug-id-injection-stub?sentry-module-id=00000000-0000-0000-0000-000000000000","../../src/import.js","../../src/index.js","../../src/index.js"],"sourcesContent":["!function(){try{var e=\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeof global?global:\\"undefined\\"!=typeof globalThis?globalThis:\\"undefined\\"!=typeof self?self:{};e.SENTRY_RELEASE={id:\\"I am release!\\"};}catch(e){}}();","!function(){try{var e=\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeof global?global:\\"undefined\\"!=typeof globalThis?globalThis:\\"undefined\\"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\\"00000000-0000-0000-0000-000000000000\\",e._sentryDebugIdIdentifier=\\"sentry-dbid-00000000-0000-0000-0000-000000000000\\");}catch(e){}}();","// eslint-disable-next-line no-console\\nconsole.log(\\"I am import!\\");\\n\\nexport {};\\n","import \\"./import\\";\\n\\n// eslint-disable-next-line no-console\\nconsole.log(\\"I am index!\\");\\n","\\n import \\"_sentry-debug-id-injection-stub\\";\\n import * as OriginalModule from \\"./src/index.js\\";\\n export default OriginalModule.default;\\n export * from \\"./src/index.js\\";"],"mappings":";;AAAA,IAAC,WAAU;AAAC,QAAG;AAAC,UAAI,IAAE,eAAa,OAAO,SAAO,SAAO,eAAa,OAAO,SAAO,SAAO,eAAa,OAAO,aAAW,aAAW,eAAa,OAAO,OAAK,OAAK,CAAC;AAAE,QAAE,iBAAe,EAAC,IAAG,gBAAe;AAAA,IAAE,SAAOA,IAAE;AAAA,IAAC;AAAA,EAAC,GAAE;;;ACAxN,IAAC,WAAU;AAAC,QAAG;AAAC,UAAI,IAAE,eAAa,OAAO,SAAO,SAAO,eAAa,OAAO,SAAO,SAAO,eAAa,OAAO,aAAW,aAAW,eAAa,OAAO,OAAK,OAAK,CAAC;AAAE,UAAI,IAAG,IAAI,EAAE,QAAO;AAAM,YAAI,EAAE,kBAAgB,EAAE,mBAAiB,CAAC,GAAE,EAAE,gBAAgB,CAAC,IAAE,wCAAuC,EAAE,2BAAyB;AAAA,IAAoD,SAAOC,IAAE;AAAA,IAAC;AAAA,EAAC,GAAE;;;ACCnY,UAAQ,IAAI,cAAc;;;ACE1B,UAAQ,IAAI,aAAa;;;ACAX,MAAO,gBAAuB;","names":["e","e"]}",
4040
}
4141
`);
42-
42+
4343
const output = runFileInNode("index.js");
4444
expect(output).toContain("I am import!");
4545
expect(output).toContain("I am index!");

packages/integration-tests-next/fixtures/rolldown/after-upload-deletion-promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { join } from "node:path";
55

66
test(import.meta.url, ({ runBundler, outDir, runFileInNode }) => {
77
runBundler();
8-
8+
99
// Verify the JS file exists and works
1010
const output = runFileInNode("basic.js");
1111
expect(output).toBe("hello world\n");
12-
12+
1313
// Verify the sourcemap was deleted (by the Promise)
1414
const sourcemapPath = join(outDir, "basic.js.map");
1515
expect(existsSync(sourcemapPath)).toBe(false);

packages/integration-tests-next/fixtures/rolldown/dont-mess-up-user-code.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
2424
"index.js.map": "{"version":3,"file":"index.js","names":[],"sources":["../../src/import.js","../../src/index.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"I am import!\\");\\n\\nexport {};\\n","import \\"./import\\";\\n\\n// eslint-disable-next-line no-console\\nconsole.log(\\"I am index!\\");\\n"],"mappings":";;;;;;;;;AACA,QAAQ,IAAI,eAAe;;;ACE3B,QAAQ,IAAI,cAAc"}",
2525
}
2626
`);
27-
27+
2828
const output = runFileInNode("index.js");
2929
expect(output).toContain("I am import!");
3030
expect(output).toContain("I am index!");

packages/integration-tests-next/fixtures/rollup3/after-upload-deletion-promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { join } from "node:path";
55

66
test(import.meta.url, ({ runBundler, outDir, runFileInNode }) => {
77
runBundler();
8-
8+
99
// Verify the JS file exists and works
1010
const output = runFileInNode("basic.js");
1111
expect(output).toBe("hello world\n");
12-
12+
1313
// Verify the sourcemap was deleted (by the Promise)
1414
const sourcemapPath = join(outDir, "basic.js.map");
1515
expect(existsSync(sourcemapPath)).toBe(false);

packages/integration-tests-next/fixtures/rollup3/dont-mess-up-user-code.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
1515
"index.js.map": "{"version":3,"file":"index.js","sources":["../../src/import.js","../../src/index.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"I am import!\\");\\n\\nexport {};\\n","import \\"./import\\";\\n\\n// eslint-disable-next-line no-console\\nconsole.log(\\"I am index!\\");\\n"],"names":[],"mappings":"AAAA,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;2aACA,OAAO,CAAC,GAAG,CAAC,CAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAc,CAAC;;ACC3B,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;AACA,OAAO,CAAC,GAAG,CAAC,CAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,CAAa,CAAC"}",
1616
}
1717
`);
18-
18+
1919
const output = runFileInNode("index.js");
2020
expect(output).toContain("I am import!");
2121
expect(output).toContain("I am index!");

packages/integration-tests-next/fixtures/rollup4/after-upload-deletion-promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { join } from "node:path";
55

66
test(import.meta.url, ({ runBundler, outDir, runFileInNode }) => {
77
runBundler();
8-
8+
99
// Verify the JS file exists and works
1010
const output = runFileInNode("basic.js");
1111
expect(output).toBe("hello world\n");
12-
12+
1313
// Verify the sourcemap was deleted (by the Promise)
1414
const sourcemapPath = join(outDir, "basic.js.map");
1515
expect(existsSync(sourcemapPath)).toBe(false);

packages/integration-tests-next/fixtures/rollup4/dont-mess-up-user-code.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
1515
"index.js.map": "{"version":3,"file":"index.js","sources":["../../src/import.js","../../src/index.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"I am import!\\");\\n\\nexport {};\\n","import \\"./import\\";\\n\\n// eslint-disable-next-line no-console\\nconsole.log(\\"I am index!\\");\\n"],"names":[],"mappings":"AAAA,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;2aACA,OAAO,CAAC,GAAG,CAAC,CAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAc,CAAC;;ACC3B,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;AACA,OAAO,CAAC,GAAG,CAAC,CAAA,CAAA,CAAA,EAAA,CAAA,KAAA,CAAA,CAAa,CAAC"}",
1616
}
1717
`);
18-
18+
1919
const output = runFileInNode("index.js");
2020
expect(output).toContain("I am import!");
2121
expect(output).toContain("I am index!");

packages/integration-tests-next/fixtures/vite4/after-upload-deletion-promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { join } from "node:path";
55

66
test(import.meta.url, ({ runBundler, outDir, runFileInNode }) => {
77
runBundler();
8-
8+
99
// Verify the JS file exists and works
1010
const output = runFileInNode("basic.js");
1111
expect(output).toBe("hello world\n");
12-
12+
1313
// Verify the sourcemap was deleted (by the Promise)
1414
const sourcemapPath = join(outDir, "basic.js.map");
1515
expect(existsSync(sourcemapPath)).toBe(false);

packages/integration-tests-next/fixtures/vite4/dont-mess-up-user-code.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => {
2121
"index.js.map": "{"version":3,"file":"index.js","sources":["../../src/import.js","../../src/index.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"I am import!\\");\\n\\nexport {};\\n","import \\"./import\\";\\n\\n// eslint-disable-next-line no-console\\nconsole.log(\\"I am index!\\");\\n"],"names":[],"mappings":";;;;;;;;;AACA,QAAQ,IAAI,cAAc;ACE1B,QAAQ,IAAI,aAAa;"}",
2222
}
2323
`);
24-
24+
2525
const output = runFileInNode("index.js");
2626
expect(output).toContain("I am import!");
2727
expect(output).toContain("I am index!");

0 commit comments

Comments
 (0)