Skip to content

Commit

Permalink
Revert "Revert"
Browse files Browse the repository at this point in the history
This reverts commit 24627b6.
  • Loading branch information
bcomnes committed Oct 31, 2023
1 parent 8a08fbb commit 4a87361
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/scripts/test-desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cp(path.join(root, 'fixtures'), path.join(TMPDIR, 'ssc-socket-test-fixtures'), {
})

try {
exec(`ssc build -r --test=./index.js ${!DEBUG ? '-o --headless' : ''}`, {
exec(`ssc build -r --test=./index.js ${!DEBUG ? '-o --headless --prod' : ''}`, {
stdio: 'inherit',
env: {
SOCKET_HOME_API,
Expand Down
4 changes: 2 additions & 2 deletions test/src/fs/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ if (process.platform !== 'ios') {
t.equal(chmod, undefined, 'file.txt is chmod 777')
})

test.only('fs.promises.mkdir', async (t) => {
test('fs.promises.mkdir', async (t) => {
const dirname = FIXTURES + Math.random().toString(16).slice(2)
await fs.mkdir(dirname, {})
await fs.stat(dirname)
t.pass('fs.promises.mkdir made a directory and stat\'d it')
})

test.only('fs.promises.mkdir recursive', async (t) => {
test('fs.promises.mkdir recursive', async (t) => {
const randomDirName = () => Math.random().toString(16).slice(2)
const dirname = path.join(FIXTURES, randomDirName(), randomDirName(), randomDirName())
await fs.mkdir(dirname, { recursive: true })
Expand Down

0 comments on commit 4a87361

Please sign in to comment.