Skip to content

Commit 2ef0abe

Browse files
committed
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
1 parent 2c5c9e4 commit 2ef0abe

File tree

2 files changed

+39
-16
lines changed

2 files changed

+39
-16
lines changed

test/commands/falcon/adk/create.test.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { test } from '@salesforce/command/lib/test';
2+
//import { ensureJsonMap, ensureString } from '@salesforce/ts-types';
3+
4+
export enum KEY {
5+
DOWN = '\x1B\x5B\x42',
6+
UP = '\x1B\x5B\x41',
7+
ENTER = '\x0D',
8+
SPACE = '\x20'
9+
}
10+
11+
describe('falcon:adk:create', () => {
12+
13+
14+
});
15+
16+
17+
18+
19+
/*
20+
describe('falcon:adk:create', () => {
21+
test
22+
// .stdin(KEY.ENTER, 30000)
23+
// .stdin(KEY.ENTER, 34000)
24+
// .stdin(KEY.ENTER, 38000)
25+
.stdout({print: true})
26+
.timeout(2000000)
27+
.do(() => console.log('foo'))
28+
// .do(({stdout}) => expect(stdout).to.equal('foo\n'))
29+
// .it('does something with context', ctx => {
30+
// expect(ctx.stdout).to.equal('foos\n');
31+
// });
32+
.command(['falcon:adk:create'])
33+
.do(() => console.log('foo22222222'))
34+
.it('runs falcon:adk:create', ctx => {
35+
//console.log(ctx.stdout);
36+
// expect(ctx.stdout).to.contain('Initialization Complete', 'HORROR! No Inclusion!');
37+
});
38+
});
39+
*/

0 commit comments

Comments
 (0)