Skip to content

Commit

Permalink
Fix a few comment typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Jan 18, 2024
1 parent 7ce9056 commit 7bff259
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/webpack-embedded-dependencies-plugin"
}
],
"packageName": "@rushstack/webpack-embedded-dependencies-plugin",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/webpack-plugin-utilities"
}
],
"packageName": "@rushstack/webpack-plugin-utilities",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ for (const fixture of fixtures) {
case 'dependencies-with-transient-copyleft-license':
it('should have three files created when using the generator from the entire build with correct default names and the licenses have been correctly detected', async () => {
// For this test we'll create the virtual file system and pass it to the Testing.getTestingWebpackCompilerAsync
// beacuse we want to reuse it to verify the files generated by the plugin
// because we want to reuse it to verify the files generated by the plugin

await Testing.getTestingWebpackCompilerAsync(
`./fixtures/${fixture}/src`,
Expand Down Expand Up @@ -223,7 +223,7 @@ for (const fixture of fixtures) {
case 'dependencies-with-dependency-to-filter-out':
it('should filter out specific packages using a package filter function option', async () => {
// For this test we'll create the virtual file system and pass it to the Testing.getTestingWebpackCompilerAsync
// beacuse we want to reuse it to verify the files generated by the plugin
// because we want to reuse it to verify the files generated by the plugin

await Testing.getTestingWebpackCompilerAsync(
`./fixtures/${fixture}/src`,
Expand Down
17 changes: 9 additions & 8 deletions webpack/webpack-plugin-utilities/src/Testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import type { MultiStats, Stats, Configuration, Compiler, StatsError } from 'web
* import Testing from '@rushstack/webpack-plugin-utilities';
*
* describe('MyPlugin', () => {
it('should run', async () => {
const stats = await Testing.getTestingWebpackCompiler(
`./src/index.ts`,
);
expect(stats).toBeDefined();
});
* it('should run', async () => {
* const stats = await Testing.getTestingWebpackCompiler(
* `./src/index.ts`,
* );
*
* expect(stats).toBeDefined();
* });
* });
* ```
*
Expand Down Expand Up @@ -138,7 +138,8 @@ function _defaultWebpackConfig(entry: string = './src'): Configuration {
context: __dirname,
entry,
output: {
filename: 'test-bundle.js'
path: '/release',
filename: '[name].js'
}
};
}

0 comments on commit 7bff259

Please sign in to comment.