Skip to content

Conversation

@sehrope
Copy link
Contributor

@sehrope sehrope commented May 16, 2020

Some more test cleanup that:

  • Replaces __dirname concatenation in require(...) statements with relative paths to allow for IDE code navigation (e.g. F12 in VS Code).
  • Removes some unused functions and local variables
  • Removes some unused imports
  • Replaces global BufferList with localized require

sehrope added 5 commits May 16, 2020 07:41
…paths

Replaces __dirname concatentation in pg test scripts so that editors like
VS Code can automatically generate typings and support code navigation (F12).
Removes unused count var. Sink function below it shadows the variable within
its add(...) function so file level count variable is never used.
Removes assigning BufferList to a global in top level test-helper and adds explicit
require in the tests that need to access it.
Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay improvements!

@charmander charmander merged commit ff302b1 into brianc:master May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants