mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
8 lines
261 B
JavaScript
8 lines
261 B
JavaScript
describe("process", function() {
|
|
it("has argv containing script name and arguments", function() {
|
|
process.argv[0].should.equal('nodify');
|
|
process.argv[1].should.match(/.*\/support\/mocha.js$/);
|
|
process.argv[2].should.equal('dummy_arg');
|
|
});
|
|
});
|