Skip to content

Commit

Permalink
Update test file (#302)
Browse files Browse the repository at this point in the history
# Summary
Updates the pretest script to copy `airtable.browser.js` into `test/test_files`.

# Testing
- `npm run test`
- From `test/test_files` run `python2 -m SimpleHTTPServer` and make sure it still works as before.
  • Loading branch information
kevinwilde-at authored Mar 31, 2022
1 parent 7fd2ed4 commit 80040f7
Show file tree
Hide file tree
Showing 2 changed files with 1,725 additions and 6,371 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "git://github.com/airtable/airtable.js.git",
"private": false,
"scripts": {
"pretest": "npm run lint && npm run prepare; true",
"pretest": "npm run lint && npm run prepare && cp build/airtable.browser.js test/test_files; true",
"lint": "eslint '*/**/*.{js,ts,tsx}'",
"format": "prettier --write '**/*.js'",
"test": "jest --env node --coverage --no-cache",
Expand Down Expand Up @@ -72,4 +72,4 @@
"engines": {
"node": ">=8.0.0"
}
}
}
Loading

0 comments on commit 80040f7

Please sign in to comment.