chore: reorganize test files into domain-specific subdirectories

- Moved unit tests for user authentication into `tests/unit/auth/`
- Relocated integration tests for payment processing to `tests/integration/payments/`
- Grouped API endpoint tests under `tests/api/` with separate files for each resource
- Updated test runner configuration to discover tests in new directory structure
This commit is contained in:
Bob Nystrom
2013-11-27 06:52:00 +00:00
parent cd1bd39ce1
commit 91c675b28a
72 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
var a = []
a.add(1)
io.write(a) // expect: [1]
a.add(2)
io.write(a) // expect: [1, 2]
a.add(3)
io.write(a) // expect: [1, 2, 3]
// Returns added element.
io.write(a.add(4)) // expect: 4