Skip to content

Commit

Permalink
smoke-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed May 24, 2024
1 parent 163467c commit e3a33ee
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions smoke-tests/test/fixtures/setup.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const fs = require('fs/promises')
const { existsSync } = require('fs')
const { join, resolve, sep, extname, relative, delimiter } = require('path')
const fs = require('node:fs/promises')
const { existsSync } = require('node:fs')
const { join, resolve, sep, extname, relative, delimiter } = require('node:path')
const which = require('which')
const spawn = require('@npmcli/promise-spawn')
const MockRegistry = require('@npmcli/mock-registry')
const http = require('http')
const http = require('node:http')
const { createProxy } = require('proxy')

const { SMOKE_PUBLISH_TARBALL, CI, PATH, Path } = process.env
Expand Down
2 changes: 1 addition & 1 deletion smoke-tests/test/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { join } = require('path')
const { join } = require('node:path')
const t = require('tap')
const setup = require('./fixtures/setup.js')

Expand Down
2 changes: 1 addition & 1 deletion smoke-tests/test/large-install.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const t = require('tap')
const path = require('path')
const path = require('node:path')
const setup = require('./fixtures/setup.js')

const getFixture = (p) => require(
Expand Down
4 changes: 2 additions & 2 deletions smoke-tests/test/npm-replace-global.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const t = require('tap')
const { join, dirname, basename, extname } = require('path')
const fs = require('fs/promises')
const { join, dirname, basename, extname } = require('node:path')
const fs = require('node:fs/promises')
const _which = require('which')
const setup = require('./fixtures/setup.js')

Expand Down

0 comments on commit e3a33ee

Please sign in to comment.