Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit ccb14ac

Browse files
committed
test: add CI variables
1 parent f93772b commit ccb14ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/integration.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ test.beforeEach(t => {
3232
t.context.stdout = stub(process.stdout, 'write').callsFake(val => {
3333
t.context.logs += stripAnsi(val.toString());
3434
});
35+
36+
process.env.TRAVIS = 'true';
37+
process.env.CI = 'true';
38+
process.env.TRAVIS_BRANCH = 'master';
39+
process.env.TRAVIS_PULL_REQUEST = 'false';
3540
});
3641

3742
test.afterEach.always(t => {

0 commit comments

Comments
 (0)