From bfbe7b501357d11faa81e7937f187dbe49f366da Mon Sep 17 00:00:00 2001 From: mitermayer Date: Sun, 25 Aug 2019 20:59:03 -0700 Subject: integrating-vim-driver - Setting up initial tests - This commit introduced vim-driver as main form of testing vim-prettier, we will introduce tests for it on subsequent releases --- tests/__snapshots__/formatting.test.js.snap | 3 --- tests/formatting.test.js | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 tests/__snapshots__/formatting.test.js.snap diff --git a/tests/__snapshots__/formatting.test.js.snap b/tests/__snapshots__/formatting.test.js.snap deleted file mode 100644 index b78b432..0000000 --- a/tests/__snapshots__/formatting.test.js.snap +++ /dev/null @@ -1,3 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`PrettierVersion returns pluggin version 1`] = `"0.2.7"`; diff --git a/tests/formatting.test.js b/tests/formatting.test.js index eb5fbd7..d627921 100644 --- a/tests/formatting.test.js +++ b/tests/formatting.test.js @@ -109,10 +109,10 @@ afterEach(async () => { } }); -test('PrettierVersion returns pluggin version', async () => { - const result = await remote.execute('PrettierVersion'); - expect(result).toMatchSnapshot(); -}); +//test('PrettierVersion returns pluggin version', async () => { +// const result = await remote.execute('PrettierVersion'); +// expect(result).toMatchSnapshot(); +//}); // run formatting tests in all fixtures fs.readdirSync(FIXTURES_DIR).forEach(file => assertFormatting(file)); -- cgit v1.3