Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ava.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export default {
suppressLog
],
workerThreads: false,
timeout: "2m",
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import createManifestProcessor from "@ui5/builder/processors/manifestCreator";

export default async function generateLibraryManifest(middlewareUtil, dotLibResource) {
const project = dotLibResource.getProject();
const libResources = await project.getReader().byGlob(
const libResources = await project.getSourceReader().byGlob(
`/resources/**/*.{js,json,library,less,css,theming,theme,properties}`);

const res = await createManifestProcessor({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test("Generate library manifest", async (t) => {
const project = {
getNamespace: () => "sap/foo",
getVersion: () => "1.0.0",
getReader: () => reader
getSourceReader: () => reader
};
const middlewareUtilMock = {
getProject: () => project
Expand Down Expand Up @@ -92,7 +92,7 @@ test("Expected manifestCreator parameters", async (t) => {
const project = {
getNamespace: () => "sap/foo",
getVersion: () => "1.0.0",
getReader: () => adapter
getSourceReader: () => adapter
};
const middlewareUtilMock = {
getProject: () => project
Expand Down
2 changes: 1 addition & 1 deletion packages/server/test/lib/server/middleware/versionInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function createDepWorkspace(names, oOptions = {
}, oOptions);
const workspace = resourceFactory.createAdapter(oOptions);
// Connect the project back to the created workspace, this allows for accessing the reader via a resources project
project.getReader = () => workspace;
project.getSourceReader = () => workspace;
return workspace;
}

Expand Down
Loading