-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(organization): Create integration-tests directory
We will separate unit and integration tests in order to make it clear when running CI jobs which type of test is being run. Also, we'll focus the postpack tests on integration tests. Related to: #133
- Loading branch information
1 parent
2c5c9e4
commit 2ef0abe
Showing
2 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { test } from '@salesforce/command/lib/test'; | ||
//import { ensureJsonMap, ensureString } from '@salesforce/ts-types'; | ||
|
||
export enum KEY { | ||
DOWN = '\x1B\x5B\x42', | ||
UP = '\x1B\x5B\x41', | ||
ENTER = '\x0D', | ||
SPACE = '\x20' | ||
} | ||
|
||
describe('falcon:adk:create', () => { | ||
|
||
|
||
}); | ||
|
||
|
||
|
||
|
||
/* | ||
describe('falcon:adk:create', () => { | ||
test | ||
// .stdin(KEY.ENTER, 30000) | ||
// .stdin(KEY.ENTER, 34000) | ||
// .stdin(KEY.ENTER, 38000) | ||
.stdout({print: true}) | ||
.timeout(2000000) | ||
.do(() => console.log('foo')) | ||
// .do(({stdout}) => expect(stdout).to.equal('foo\n')) | ||
// .it('does something with context', ctx => { | ||
// expect(ctx.stdout).to.equal('foos\n'); | ||
// }); | ||
.command(['falcon:adk:create']) | ||
.do(() => console.log('foo22222222')) | ||
.it('runs falcon:adk:create', ctx => { | ||
//console.log(ctx.stdout); | ||
// expect(ctx.stdout).to.contain('Initialization Complete', 'HORROR! No Inclusion!'); | ||
}); | ||
}); | ||
*/ |