CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Mon, 29 Jul 2024 17:43:22 GMT
access-control-allow-origin: *
etag: W/"66a7d4ba-255a"
expires: Fri, 10 Oct 2025 19:05:23 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: D71A:3CBD1D:34D9:3FD3:68E9569B
accept-ranges: bytes
age: 0
date: Fri, 10 Oct 2025 18:55:23 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210021-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760122523.404183,VS0,VE293
vary: Accept-Encoding
x-fastly-request-id: 6ed1e62f9e372a45dbd3397bdcfb1291493d93f1
content-length: 2712
Karma - Cloud9
Heads Up! You're viewing the docs for v5.1, an old version of Karma.
v6.4 is the newest.
Cloud9
Cloud9 IDE is an open source web-based cloud integrated development environment that supports several programming languages, with a focus on the web stack (specifically JavaScript and NodeJS). It is written almost entirely in JavaScript and uses NodeJS on the back-end.
Configuration #
First, make sure the karma.conf.js
includes the following entries:
hostname: process.env.IP,
port: process.env.PORT
Capture the browser manually on the local machine #
You can use any of your local browsers.
# Start Karma without browsers:
$ karma start --no-browsers
Now, open https://<projectName>.<cloud9User>.c9.io/
in your browser.
Run Karma unit tests with PhantomJS #
It is also possible to run headless PhantomJS on the Cloud9 server.
# Install the PhantomJS plugin:
$ npm install karma-phantomjs-launcher
# Start Karma:
$ karma start --browsers PhantomJS