diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
commit | ef1b927861f9a949aed20341144ffb5bfd42f038 (patch) | |
tree | 48bd4688928546bedc6504aad76bf6e0327fcef9 /javascript/tests/acceptance/haskell-module-test.js | |
parent | 117850d8f659517cb818a857dc04c8f5157795c4 (diff) |
Removing the web client
Diffstat (limited to 'javascript/tests/acceptance/haskell-module-test.js')
-rw-r--r-- | javascript/tests/acceptance/haskell-module-test.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/javascript/tests/acceptance/haskell-module-test.js b/javascript/tests/acceptance/haskell-module-test.js deleted file mode 100644 index 4eab15d..0000000 --- a/javascript/tests/acceptance/haskell-module-test.js +++ /dev/null @@ -1,28 +0,0 @@ -import { module, test } from 'qunit'; -import { visit, currentURL, find } from '@ember/test-helpers'; -import { setupApplicationTest } from 'ember-qunit'; - - -module('Acceptance | haskell-module', function(hooks) { - setupApplicationTest(hooks); - - //Test data is in 'server/mocks/packages.js' - test('visiting /package/test-package-0.1.0.0/show/app/Main.hs', async function(assert) { - await visit('/package/test-package-0.1.0.0/show/app/Main.hs'); - - assert.equal(currentURL(), '/package/test-package-0.1.0.0/show/app/Main.hs'); - - const lines = Array.from(find('tbody').children).map((tr) => { - return tr.children[1].innerText; - }); - - assert.deepEqual(lines,["module Main where", - "", - "import Lib", - "", - "main :: IO ()", - "main = someFunc", - "", - ""]); - }); -}); |