From f2dc09fc01b8c9b14306ac4b0dc59c815aae972e Mon Sep 17 00:00:00 2001 From: Jarrod Davis Date: Sun, 9 Dec 2018 21:29:43 -0700 Subject: [PATCH 1/6] Fix Test Set the Jest test environment to `node` to avoid a JSDom error. --- jest.config.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..c1c5f83 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,3 @@ +module.exports = { + testEnvironment: "node" +} From e90bce19008081b239b708c9923758e371fc8d3a Mon Sep 17 00:00:00 2001 From: Jarrod Davis Date: Sun, 9 Dec 2018 21:42:11 -0700 Subject: [PATCH 2/6] Add tests for template tags Add failing tests for extracting selectors from HTML tags under `