Skip to content

Commit

Permalink
chore: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
elrrrrrrr committed Nov 1, 2023
1 parent ffcf9ed commit 71c47a6
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions integration/index.2.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

const fs = require('node:fs/promises');
const os = require('node:os');
const path = require('node:path');
const assert = require('node:assert');
const coffee = require('coffee');
Expand Down Expand Up @@ -168,26 +169,19 @@ describe('test/index.v2.test.js', () => {
assert.strictEqual(require(path.join(cwd, 'node_modules', 'esbuild/package.json')).version, '0.15.14');
});

it('should auto clean when reinstall', async () => {
it.only('should auto clean when reinstall', async () => {

Check warning on line 172 in integration/index.2.test.js

View workflow job for this annotation

GitHub Actions / linux-test (16.x, ubuntu-20.04, bash, 3.9)

it.only not permitted

Check warning on line 172 in integration/index.2.test.js

View workflow job for this annotation

GitHub Actions / linux-test (18.x, ubuntu-20.04, bash, 3.9)

it.only not permitted

Check warning on line 172 in integration/index.2.test.js

View workflow job for this annotation

GitHub Actions / linux-test (20.x, ubuntu-20.04, bash, 3.9)

it.only not permitted
cwd = path.join(__dirname, './fixtures/esbuild');

// npm mode
await coffee
.fork(rapid, [
'install',
'--ignore-scripts',
], {
cwd,
})
.debug()
.expect('code', 0)
.end();
const execa = require('execa');
const { stdout } = await execa('mount');
console.log(stdout);
if (os.type() !== 'Darwin') {
return;
}

// npminstall
await coffee
.fork(rapid, [
'install',
'--by=npminstall',
'--ignore-scripts',
], {
cwd,
Expand All @@ -196,7 +190,6 @@ describe('test/index.v2.test.js', () => {
.expect('code', 0)
.end();

// npm mode
await coffee
.fork(rapid, [
'install',
Expand Down

0 comments on commit 71c47a6

Please sign in to comment.