diff --git a/README.md b/README.md index df7fe2b..e02bb6f 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,8 @@ Unfortunately, `module-alias` itself would not work from Jest due to a custom be "jest": { "moduleNameMapper": { "@root/(.*)": "/$1", - "@client/(.*)": "/src/client/$1" + "@client/(.*)": "/src/client/$1", + "@server": "/server.js" // Pointing jest to a single file not a directory. }, } ```