diff --git a/test/formatter/dprint_spec.lua b/test/formatter/dprint_spec.lua deleted file mode 100644 index b2477a5..0000000 --- a/test/formatter/dprint_spec.lua +++ /dev/null @@ -1,18 +0,0 @@ -describe('dprint', function() - it('can format', function() - local ft = require('guard.filetype') - ft('typescriptreact'):fmt('dprint') - require('guard').setup() - - local formatted = require('test.formatter.helper').test_with('typescriptreact', { - [[ const randomNumber = Math.floor(]], - [[ Math.random() * 10]], - [[ ) + 1]], - [[alert(randomNumber)]], - }) - assert.are.same({ - [[const randomNumber = Math.floor(Math.random() * 10) + 1;]], - [[alert(randomNumber);]], - }, formatted) - end) -end) diff --git a/test/setup.sh b/test/setup.sh index 67e5018..8800339 100644 --- a/test/setup.sh +++ b/test/setup.sh @@ -10,8 +10,7 @@ luarocks install luacheck & go install github.com/segmentio/golines@latest & pip -qqq install autopep8 black djhtml flake8 isort pylint yapf & npm install -g --silent \ - prettier @fsouza/prettierd sql-formatter shellcheck shfmt dprint & -dprint config add typescript & + prettier @fsouza/prettierd sql-formatter shellcheck shfmt & gem install -q rubocop & brew install \ swiftformat swift-format hadolint google-java-format pgformatter fnlfmt # Block, homebrew takes the longest time