Skip to content

Commit

Permalink
Remove tape call, use Jest instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Jul 13, 2019
1 parent dfd44ce commit 5b83c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ test('ensure run and exec are working', async () => {
await compose.down({ cwd: path.join(__dirname), log: logOutput });
});

test('ensure run and exec with command defined as array are working', async assert => {
test('ensure run and exec with command defined as array are working', async () => {
const checkOSID = (out, id) => {
// parse /etc/os-release contents
const re = /([\w,_]+)=(.*)/g;
Expand All @@ -236,7 +236,7 @@ test('ensure run and exec with command defined as array are working', async asse
os[match[1]] = match[2];
}

assert.equals(os.ID, id);
expect(os.ID).toBe(id);
};

const opts = { cwd: path.join(__dirname), log: false };
Expand Down

0 comments on commit 5b83c70

Please sign in to comment.