Skip to content

Commit 86a0bcf

Browse files
linting
1 parent 0491611 commit 86a0bcf

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

packages/react-on-rails-pro-node-renderer/tests/httpRequestUtils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ export const createForm = ({
4848
form.append('renderingRequest', renderingRequestCode);
4949

5050
const testBundlesDirectory = path.join(__dirname, '../../../react_on_rails_pro/spec/dummy/ssr-generated');
51-
const testClientBundlesDirectory = path.join(__dirname, '../../../react_on_rails_pro/spec/dummy/public/webpack/test');
51+
const testClientBundlesDirectory = path.join(
52+
__dirname,
53+
'../../../react_on_rails_pro/spec/dummy/public/webpack/test',
54+
);
5255
const bundlePath = path.join(testBundlesDirectory, 'server-bundle.js');
5356
form.append(`bundle_${SERVER_BUNDLE_TIMESTAMP}`, fs.createReadStream(bundlePath), {
5457
contentType: 'text/javascript',

packages/react-on-rails-pro-node-renderer/tests/serverRenderRSCReactComponent.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ describe('serverRenderRSCReactComponent', () => {
2828
fs.mkdirSync(tempDir, { recursive: true });
2929

3030
// Copy rsc-bundle.js to temp directory
31-
const originalRscBundlePath = path.join(__dirname, '../../../react_on_rails_pro/spec/dummy/ssr-generated/rsc-bundle.js');
31+
const originalRscBundlePath = path.join(
32+
__dirname,
33+
'../../../react_on_rails_pro/spec/dummy/ssr-generated/rsc-bundle.js',
34+
);
3235
tempRscBundlePath = path.join(tempDir, 'rsc-bundle.js');
3336
fs.copyFileSync(originalRscBundlePath, tempRscBundlePath);
3437

packages/react-on-rails-pro-node-renderer/tests/testingNodeRendererConfigs.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ export function createTestConfig(testName: string): { config: Partial<Config>; b
4848
return { config, bundlePath };
4949
}
5050

51-
export default createTestConfig;

0 commit comments

Comments
 (0)