Header Image
test/server.js : Public <<file>> Component
Created: 2023-01-26 3:56:38 PM
Modified: 2023-02-06 12:37:28 PM
The server.js file is a setup file for the <a href="https://expressjs.com/en/guide/routing.html"><font color="#0000ff"><u>express Web server for node</u></font></a>. The setup adds all the test directories as paths that are automatically available at the root of the web server, which runs on localhost. <br/><br/>The port number 30001 is specified in server.js. <br/><br/>The setup script can be run via a parameter passed to node:<br/><br/>$ node test/server.js<br/>Running on localhost:30001<br/><br/>All the .html (and other) files that exist in the directories added as routes in the server.js file are now available at the root ("/") path on localhost:30001 :<br/>e.g. http://localhost:30001/multipleExtents.html<br/><br/>To shut the server down, press Ctrl-C<br/><br/>The setup script is used by playwright (the end-to-end testing framework) and jest (the unit testing framework).<br/>
  • Files
  • Advanced
File Type
test/server.js Local File

File Size:
Time Stamp:
Property Value
isIndirectlyInstantiated: true
isFinalSpecialization: 0