Skip to content

Commit

Permalink
fix: Change lib/ to dist/ in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Mar 12, 2018
1 parent 78c1982 commit 84e47ba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
1 change: 1 addition & 0 deletions .fossaignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
docs/
docs/Gemfile
12 changes: 0 additions & 12 deletions lib/manual_test.html

This file was deleted.

2 changes: 1 addition & 1 deletion src/e2e-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Integration test', function() {
before(function(done) {
const express = require('express')
const app = express()
app.use(express.static('lib'))
app.use(express.static('dist'))
app.listen(3000, function(err) {
if (err) { return done(err) }
done()
Expand Down
2 changes: 1 addition & 1 deletion src/screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const app = express()
const webshot = require('webshot')

console.log('Starting server')
app.use(express.static('lib'))
app.use(express.static('dist'))
app.listen(3000)
console.log('Server started')

Expand Down
4 changes: 2 additions & 2 deletions webpack.screenshot.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ module.exports = {
library: 'dashboard',
libraryTarget: 'umd',
umdNamedDefine: true,
path: path.resolve(__dirname, 'lib')
path: path.resolve(__dirname, 'dist')
},
devServer: {
contentBase: './lib'
contentBase: './dist'
},
module: {
rules: [
Expand Down

0 comments on commit 84e47ba

Please sign in to comment.