| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d49fd29 commit 97aac9f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,15 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - require('../common'); | ||
| 2 | + | ||
| 3 | + const common = require('../common'); | ||
| 3 | 4 | ||
| 4 | 5 | // This test ensures that Node.js throws an Error when trying to convert a | |
| 5 | 6 | // large buffer into a string. | |
| 6 | 7 | // Regression test for https://github.com/nodejs/node/issues/649. | |
| 7 | 8 | ||
| 9 | + if (!common.enoughTestMem) { | ||
| 10 | + common.skip('skipped due to memory requirements'); | ||
| 11 | + } | ||
| 12 | + | ||
| 8 | 13 | const assert = require('assert'); | |
| 9 | 14 | const { | |
| 10 | 15 | SlowBuffer, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments