Then the site should be served as a production build

The app is served as a production build: no development tools on the page, no development server behind it. With "not", it is the development server.

Examples

Then the site should be served as a production build
And the site should be a production build
Then the site should not be served as a production build
Then site should be served as a production build
And the site should not be a production build

Pattern

Then(/^(?:the )?site should( not)* be (?:served as )?a production build$/, …)

Part of @webship-js/nextjs-steps (github.com/webship/nextjs-steps), a step pack for Webship-js 2.0.x.