MCPcopy
hub / github.com/codeceptjs/CodeceptJS / reloadData

Method reloadData

lib/test-server.js:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 reloadData() {
46 console.log('[Reload] Reloading data from file...')
47 this.data = this.loadData()
48 console.log('[Reload] Data reloaded successfully')
49 return this.data
50 }
51
52 saveData() {
53 if (this.readOnly) {

Callers 3

setupMiddlewareMethod · 0.95
setupRoutesMethod · 0.95
setupFileWatcherMethod · 0.95

Calls 2

loadDataMethod · 0.95
logMethod · 0.80

Tested by

no test coverage detected