mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-07 06:49:54 +11:00
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
2e6b2303a4
commit
85d3380195
16 changed files with 1769 additions and 7523 deletions
|
|
@ -1,22 +1,20 @@
|
|||
import fs = require('fs');
|
||||
import {describe, expect, it} from '@jest/globals';
|
||||
import * as fs from 'fs';
|
||||
import * as dagger from '../src/dagger';
|
||||
|
||||
describe('install', () => {
|
||||
it('acquires latest version of Dagger', async () => {
|
||||
const daggerBin = await dagger.install('latest');
|
||||
console.log(daggerBin);
|
||||
expect(fs.existsSync(daggerBin)).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('acquires latest 0.1 version', async () => {
|
||||
const daggerBin = await dagger.install('0.1');
|
||||
console.log(daggerBin);
|
||||
expect(fs.existsSync(daggerBin)).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('acquires 0.1.0-alpha.9 version of Dagger', async () => {
|
||||
const daggerBin = await dagger.install('0.1.0-alpha.9');
|
||||
console.log(daggerBin);
|
||||
expect(fs.existsSync(daggerBin)).toBe(true);
|
||||
}, 100000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue