diff --git a/e2e/react/src/react-package.test.ts b/e2e/react/src/react-package.test.ts index 02bdd3d27e7f4..42cd034fca827 100644 --- a/e2e/react/src/react-package.test.ts +++ b/e2e/react/src/react-package.test.ts @@ -107,22 +107,26 @@ forEachCli('nx', (cli) => { /** * - * Here I would update my library file - * - * updateFile(`libs/${myLib}/src/lib/${myLib}.tsx`, (content) => { - * - * Not sure how, will find how. - * - * }) - * - * I would just add this in the end: + * Here I update my library file + * I am just adding this in the end: * * export const TestFunction = async () => { * return await Promise.resolve('Done!') * } * + * So that I can see the change in the Promise. + * */ + updateFile(`libs/${myLib}/src/lib/${myLib}.tsx`, (content) => { + return ` + ${content} \n + export const TestFunction = async () => { + return await Promise.resolve('Done!') + } + `; + }); + updateFile(`libs/${myLib}/tsconfig.json`, (content) => { const json = JSON.parse(content); diff --git a/package.json b/package.json index 578d618b8f8de..85a944ebad9e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nrwl/nx-source", - "version": "999.8.3", + "version": "10.1.0", "description": "Extensible Dev Tools for Monorepos", "homepage": "https://nx.dev", "main": "index.js",