Skip to content

Commit

Permalink
chore: remove unit test config defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
laverdet committed Jan 23, 2024
1 parent 90ef5df commit bbf0e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
9 changes: 2 additions & 7 deletions test/exportType.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ describe("'exportType' option", () => {
it("should work with 'string' value and CSS modules", async () => {
const compiler = getCompiler("./basic-string-css-modules.js", {
exportType: "string",
modules: {
exportLocalsConvention: "camelCaseOnly",
},
modules: true,
});
const stats = await compile(compiler);

Expand Down Expand Up @@ -187,9 +185,7 @@ describe("'exportType' option", () => {
"./modules/composes/composes-css-style-sheet.js",
{
exportType: "css-style-sheet",
modules: {
exportLocalsConvention: "camelCaseOnly",
},
modules: true,
}
);
const stats = await compile(compiler);
Expand All @@ -210,7 +206,6 @@ describe("'exportType' option", () => {
{
exportType: "css-style-sheet",
modules: {
exportLocalsConvention: "camelCaseOnly",
exportOnlyLocals: true,
},
}
Expand Down
7 changes: 0 additions & 7 deletions test/modules-option.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,6 @@ describe('"modules" option', () => {
it('should work with the "namedExport" option', async () => {
const compiler = getCompiler("./modules/namedExport/base/index.js", {
modules: {
exportLocalsConvention: "camelCaseOnly",
namedExport: true,
},
});
Expand Down Expand Up @@ -1606,7 +1605,6 @@ describe('"modules" option', () => {
const compiler = getCompiler("./modules/namedExport/nested/index.js", {
esModule: true,
modules: {
exportLocalsConvention: "camelCaseOnly",
namedExport: true,
},
});
Expand All @@ -1626,7 +1624,6 @@ describe('"modules" option', () => {
const compiler = getCompiler("./modules/namedExport/template/index.js", {
esModule: true,
modules: {
exportLocalsConvention: "camelCaseOnly",
localIdentName: "[local]",
namedExport: true,
},
Expand Down Expand Up @@ -1824,7 +1821,6 @@ describe('"modules" option', () => {
mode: "local",
localIdentName: "_[local]",
namedExport: true,
exportLocalsConvention: "camelCaseOnly",
exportOnlyLocals: true,
},
esModule: true,
Expand Down Expand Up @@ -1862,7 +1858,6 @@ describe('"modules" option', () => {
it('should work with "url" and "namedExport"', async () => {
const compiler = getCompiler("./modules/url/source.js", {
modules: {
exportLocalsConvention: "camelCaseOnly",
namedExport: true,
},
});
Expand All @@ -1883,7 +1878,6 @@ describe('"modules" option', () => {
"./modules/url/source.js",
{
modules: {
exportLocalsConvention: "camelCaseOnly",
namedExport: true,
},
},
Expand Down Expand Up @@ -2060,7 +2054,6 @@ describe('"modules" option', () => {
modules: {
mode: "icss",
namedExport: true,
exportLocalsConvention: "camelCaseOnly",
},
}
);
Expand Down

0 comments on commit bbf0e7b

Please sign in to comment.