Skip to content

Commit

Permalink
test: add testing framework and a few basic test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpx committed Nov 20, 2019
1 parent 507b9bd commit 8516429
Show file tree
Hide file tree
Showing 16 changed files with 3,627 additions and 66 deletions.
21 changes: 20 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
{
"presets": ["@babel/preset-env"]
"presets": [
"@babel/preset-env"
],
"plugins": [

],
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/*.html
dist/*.html
test/*.txt
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.2.0 (2019-11-20)

### Features

* new options for labeling different groups ([507b9bd](https://github.com/Monkey-D-Pixel/table-schedule/commit/507b9bdf1b0d8bf8dba5dd73b24cea225a920e59))


## 0.1.2 (2019-11-06)

Build and improvements.
Expand Down
2 changes: 1 addition & 1 deletion dist/table-schedule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* TableSchedule.js v0.1.2 by Monkey-D-Pixel
* TableSchedule.js v0.2.0 by Monkey-D-Pixel
* git@github.com:Monkey-D-Pixel/table-schedule.git
*/

Expand Down
2 changes: 1 addition & 1 deletion dist/table-schedule.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html

module.exports = {
globalSetup: './test/global-setup.js',
globalTeardown: './test/global-teardown.js',
preset: "jest-puppeteer",
testEnvironment: "./test/puppeteer_environment.js",
};
Loading

0 comments on commit 8516429

Please sign in to comment.