Loading client/docs/unit-testing/writing-tests.md +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ describe("MyComponent", () => { } return response(200).json(TEST_HISTORY_SUMMARY); }) }), ); // Your test code here Loading client/gulpfile.js +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ function stageLibs(callback) { fs.createReadStream(p1).pipe(fs.createWriteStream(p2)); } else { throw new Error( `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.` `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.`, ); } }); Loading client/icons/build_icons.js +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ async function loadIcon(folderPath, fileName, prefix) { if (segments.length !== 3 || !["regular", "solid", "duotone"].includes(type) || !segments[2] === "svg") { throw new Error( `Failed to load icon "${fileName}". ` + 'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`' 'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`', ); } Loading client/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ "openapi-msw": "^0.7.0", "openapi-typescript": "^7.3.0", "postcss-loader": "^7.3.3", "prettier": "^2.8.8", "prettier": "^3.6.2", "process": "^0.11.10", "raw-loader": "^4.0.2", "sass": "^1.69.4", Loading client/src/api/client/serverMock.test.ts +2 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ server.use( return response("5XX").json(EXPECTED_500_ERROR, { status: 500 }); } return response(200).json(TEST_HISTORY_SUMMARY); }) }), ); describe("useServerMock", () => { Loading Loading @@ -100,7 +100,7 @@ describe("useServerMock", () => { expect(error).toBeDefined(); expect(`${JSON.stringify(error)}`).toContain( "Make sure you have added a request handler for this request in your tests." "Make sure you have added a request handler for this request in your tests.", ); } }); Loading Loading
client/docs/unit-testing/writing-tests.md +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ describe("MyComponent", () => { } return response(200).json(TEST_HISTORY_SUMMARY); }) }), ); // Your test code here Loading
client/gulpfile.js +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ function stageLibs(callback) { fs.createReadStream(p1).pipe(fs.createWriteStream(p2)); } else { throw new Error( `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.` `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.`, ); } }); Loading
client/icons/build_icons.js +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ async function loadIcon(folderPath, fileName, prefix) { if (segments.length !== 3 || !["regular", "solid", "duotone"].includes(type) || !segments[2] === "svg") { throw new Error( `Failed to load icon "${fileName}". ` + 'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`' 'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`', ); } Loading
client/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ "openapi-msw": "^0.7.0", "openapi-typescript": "^7.3.0", "postcss-loader": "^7.3.3", "prettier": "^2.8.8", "prettier": "^3.6.2", "process": "^0.11.10", "raw-loader": "^4.0.2", "sass": "^1.69.4", Loading
client/src/api/client/serverMock.test.ts +2 −2 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ server.use( return response("5XX").json(EXPECTED_500_ERROR, { status: 500 }); } return response(200).json(TEST_HISTORY_SUMMARY); }) }), ); describe("useServerMock", () => { Loading Loading @@ -100,7 +100,7 @@ describe("useServerMock", () => { expect(error).toBeDefined(); expect(`${JSON.stringify(error)}`).toContain( "Make sure you have added a request handler for this request in your tests." "Make sure you have added a request handler for this request in your tests.", ); } }); Loading