Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Revert "Temporarily remove node-sleep until it builds on Node 12+."
Browse files Browse the repository at this point in the history
This reverts commit 2207949.
  • Loading branch information
jdalton committed May 15, 2019
1 parent dff4f0d commit 6e5a22d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"rewire": "^4.0.1",
"semver": "^5.7.0",
"sinon": "^7.3.2",
"sleep": "^5.2.4",
"sqreen": "^1.30.1",
"strip-ansi": "^5.2.0",
"terser": "^3.17.0",
Expand Down
7 changes: 7 additions & 0 deletions test/scenario-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ describe("scenario tests", function () {
.then(({ stdout }) => assert.ok(stdout.includes("module-alias:true")))
)

it("should work with native modules", () =>
node([
path.resolve("fixture/scenario/native")
], envAuto)
.then(({ stdout }) => assert.ok(stdout.includes("native:true")))
)

it("should work with newrelic", () => {
const dirPath = path.resolve("fixture/scenario/newrelic")
const cwdPath = path.resolve(dirPath, "cwd.js")
Expand Down

0 comments on commit 6e5a22d

Please sign in to comment.