mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
28 lines
623 B
JavaScript
28 lines
623 B
JavaScript
import {
|
|
waitForMeteorOutput,
|
|
} from './helpers';
|
|
import { testMeteorRspackBundler } from './test-helpers';
|
|
|
|
describe('Other / Server-only App Bundling /', () => {
|
|
describe(
|
|
'Meteor+Rspack Bundler /',
|
|
testMeteorRspackBundler({
|
|
appName: 'server-only',
|
|
port: 3123,
|
|
skipClient: true,
|
|
skipTestClient: true,
|
|
filePaths: {
|
|
server: 'server/main.js',
|
|
},
|
|
customAssertions: {
|
|
afterRun: async ({ result }) => {
|
|
await waitForMeteorOutput(
|
|
result.outputLines,
|
|
'server/main.js loaded'
|
|
);
|
|
},
|
|
},
|
|
})
|
|
);
|
|
});
|