mirror of
https://github.com/subosito/flutter-action.git
synced 2024-08-16 10:19:50 +02:00
updated test assertion
This commit is contained in:
parent
ae2427424b
commit
04c5d0bc50
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ describe('installer tests', () => {
|
|||
|
||||
it('Downloads flutter', async () => {
|
||||
await installer.getFlutter('v1.7.8+hotfix.4', 'stable');
|
||||
const sdkDir = path.join(toolDir, 'Flutter', 'v1.7.8+hotfix.4-stable');
|
||||
const sdkDir = path.join(toolDir, 'Flutter', '1.7.8', 'x64');
|
||||
|
||||
expect(fs.existsSync(`${sdkDir}.complete`)).toBe(true);
|
||||
expect(fs.existsSync(path.join(sdkDir, 'bin'))).toBe(true);
|
||||
|
@ -35,7 +35,7 @@ describe('installer tests', () => {
|
|||
|
||||
it('Downloads flutter from beta channel', async () => {
|
||||
await installer.getFlutter('v1.8.3', 'beta');
|
||||
const sdkDir = path.join(toolDir, 'Flutter', 'v1.8.3-beta');
|
||||
const sdkDir = path.join(toolDir, 'Flutter', '1.8.3', 'x64');
|
||||
|
||||
expect(fs.existsSync(`${sdkDir}.complete`)).toBe(true);
|
||||
expect(fs.existsSync(path.join(sdkDir, 'bin'))).toBe(true);
|
||||
|
|
Loading…
Reference in a new issue