Skip to content

Commit d290312

Browse files
kyliauayazhafiz
authored andcommitted
test: use rollup bundle for e2e test (#444)
In dev mode, rollup is not used to bundle the code so that test execution is fast. However, this means the actual bundle that is published to the marketplace is not tested in any way. This commit changes the end-to-end test to exercise the production bundle instead.
1 parent 82ccf07 commit d290312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/lsp/smoke_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('Angular Language Service', () => {
1010
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; /* 10 seconds */
1111
const PACKAGE_ROOT = resolve(__dirname, '../../..');
1212
const PROJECT_PATH = resolve(__dirname, '../../project');
13-
const SERVER_PATH = resolve(__dirname, '../../../server/out/server.js');
13+
const SERVER_PATH = resolve(__dirname, '../../../dist/server/index.js');
1414
const responseEmitter = new ResponseEmitter();
1515
let server: ChildProcess;
1616

0 commit comments

Comments
 (0)