From c79a861809089af386cae492994b1f75802b1103 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 1 Mar 2018 09:37:19 +0330 Subject: [PATCH] tests: add failing test for ignores (#2905) --- test/fixtures/basic/store/-ignored.js | 4 +--- test/fixtures/basic/store/ignored.test.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/fixtures/basic/store/-ignored.js b/test/fixtures/basic/store/-ignored.js index b96c60ff82..55585a388c 100644 --- a/test/fixtures/basic/store/-ignored.js +++ b/test/fixtures/basic/store/-ignored.js @@ -1,3 +1 @@ -export const state = () => ({ - error: 'Should be ignored' -}) +throw new Error('This file should be ignored!!') diff --git a/test/fixtures/basic/store/ignored.test.js b/test/fixtures/basic/store/ignored.test.js index b96c60ff82..55585a388c 100644 --- a/test/fixtures/basic/store/ignored.test.js +++ b/test/fixtures/basic/store/ignored.test.js @@ -1,3 +1 @@ -export const state = () => ({ - error: 'Should be ignored' -}) +throw new Error('This file should be ignored!!')